summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-09 21:53:15 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-09 21:53:15 +0000
commit780bf9b04b42ff1bf46f64e3ed25a3f98fe5519c (patch)
treeb2ba5d1839722f7b2b0b440e16e769139f54a79e
parent6d6915400e1b2307806701f5fafb99e3970cdc45 (diff)
downloadbrdo-780bf9b04b42ff1bf46f64e3ed25a3f98fe5519c.tar.gz
brdo-780bf9b04b42ff1bf46f64e3ed25a3f98fe5519c.tar.bz2
- Patch #559368 by CalebD: trailing commas in JavaScript cause syntax errors in IE.
-rw-r--r--misc/ajax.js2
-rw-r--r--modules/system/system.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/misc/ajax.js b/misc/ajax.js
index 953827f1d..378b1b833 100644
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -96,7 +96,7 @@ Drupal.ajax = function (base, element, element_settings) {
type: 'bar',
message: 'Please wait...'
},
- button: {},
+ button: {}
};
$.extend(this, defaults, element_settings);
diff --git a/modules/system/system.js b/modules/system/system.js
index 4da80811d..7df037283 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -126,7 +126,7 @@ Drupal.behaviors.userTimeZones = {
$('#edit-configurable-timezones', context).change(function () {
$('#empty-timezone-message-wrapper').toggle();
});
- },
+ }
};
/**
@@ -160,7 +160,7 @@ Drupal.behaviors.pageCache = {
$('#page-compression-wrapper').show();
$('#cache-error').show();
});
- },
+ }
};
/**