summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-04 07:22:23 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-04 07:22:23 +0000
commit1fe90cba4f4015846021d0074d3335ba05fea393 (patch)
treeb7347ec95002ed10a0b6d667e2b93f2d9621493d /misc
parent712c5758ff9685d9d8a07cbbe91aa814ca32f0a9 (diff)
downloadbrdo-1fe90cba4f4015846021d0074d3335ba05fea393.tar.gz
brdo-1fe90cba4f4015846021d0074d3335ba05fea393.tar.bz2
- Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments
Diffstat (limited to 'misc')
-rw-r--r--misc/drupal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/drupal.js b/misc/drupal.js
index 8d46fea58..dc527240d 100644
--- a/misc/drupal.js
+++ b/misc/drupal.js
@@ -50,7 +50,7 @@ Drupal.redirectFormButton = function (uri, button, handler) {
// Restore form submission
button.form.action = action;
button.form.target = target;
-
+
// Get response from iframe body
try {
response = (iframe.contentWindow || iframe.contentDocument || iframe).document.body.innerHTML;
@@ -64,7 +64,7 @@ Drupal.redirectFormButton = function (uri, button, handler) {
catch (e) {
response = null;
}
-
+
response = Drupal.parseJson(response);
// Check response code
if (response.status == 0) {