- Patch #559368 by CalebD: trailing commas in JavaScript cause syntax errors in IE.

merge-requests/26/head
Dries Buytaert 2009-09-09 21:53:15 +00:00
parent 6d6915400e
commit 780bf9b04b
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ Drupal.ajax = function (base, element, element_settings) {
type: 'bar',
message: 'Please wait...'
},
button: {},
button: {}
};
$.extend(this, defaults, element_settings);

View File

@ -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();
});
},
}
};
/**