Janine (janinedog) wrote in changelog,
Janine
janinedog
changelog

[ljcom] r5423: Remove the commas from the ends of lists...

Committer: janine
Remove the commas from the ends of lists so there's no JS errors

U   branches/customize/cgi-bin/LJ/Widget/AdLayout.pm
U   branches/customize/htdocs/js/livejournal-local.js
Modified: branches/customize/cgi-bin/LJ/Widget/AdLayout.pm
===================================================================
--- branches/customize/cgi-bin/LJ/Widget/AdLayout.pm	2007-08-30 21:57:15 UTC (rev 5422)
+++ branches/customize/cgi-bin/LJ/Widget/AdLayout.pm	2007-08-31 01:07:16 UTC (rev 5423)
@@ -85,13 +85,13 @@
             this.doPostAndUpdateContent({
                 user: Customize.username,
                 ad_placement: $('adplacement_value').value,
-                adplacement_saved: 1,
+                adplacement_saved: 1
             });
             Event.stop(evt);
         },
         onRefresh: function (data) {
             this.initWidget();
-        },
+        }
     ];
 }
 

Modified: branches/customize/htdocs/js/livejournal-local.js
===================================================================
--- branches/customize/htdocs/js/livejournal-local.js	2007-08-30 21:57:15 UTC (rev 5422)
+++ branches/customize/htdocs/js/livejournal-local.js	2007-08-31 01:07:16 UTC (rev 5423)
@@ -34,8 +34,6 @@
 // for updating ljcom widgets from livejournal ones
 LiveJournal.register_hook("update_other_widgets", function (from_widget) {
     if (from_widget == "LayoutChooser" && Customize.AdLayout) {
-        Customize.AdLayout.updateContent({
-            user: Customize.username,
-        });
+        Customize.AdLayout.updateContent({ user: Customize.username });
     }
 });

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments