Remove two trailing comma's
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 28 Mar 2009 20:19:18 +0000
changeset 2025 e44de18a2f5d
parent 2024 43e5b515b71d
child 2026 388b65cabfbb
Remove two trailing comma's IE dies when there is a trailing comma in a js dictionary. Patch by: Sverre Rabbelier
app/soc/content/js/datetimepicker-090304.js
app/soc/content/js/tips-081027.js
--- a/app/soc/content/js/datetimepicker-090304.js	Sat Mar 28 02:21:48 2009 +0000
+++ b/app/soc/content/js/datetimepicker-090304.js	Sat Mar 28 20:19:18 2009 +0000
@@ -4,7 +4,7 @@
                 'pickDateOnly' : true,
                 'defaultDate' : new Date('01/01/1974'),
                 'timeFormat' : '',
-                'yearRange' : '1900:2008',
+                'yearRange' : '1900:2008'
             });
         });
 
--- a/app/soc/content/js/tips-081027.js	Sat Mar 28 02:21:48 2009 +0000
+++ b/app/soc/content/js/tips-081027.js	Sat Mar 28 20:19:18 2009 +0000
@@ -9,7 +9,7 @@
              titleSelector: "parent().parent().attr('xtitle')",
              killTitle: false,
              fill: 'rgba(135, 206, 250, .9)',
-             positions: ['bottom', 'top', 'right'],
+             positions: ['bottom', 'top', 'right']
           })
       .bind('focus', function() {
                 $(this).trigger('helperon');