diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-06-04 07:22:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-06-04 07:22:23 +0000 |
commit | 1fe90cba4f4015846021d0074d3335ba05fea393 (patch) | |
tree | b7347ec95002ed10a0b6d667e2b93f2d9621493d /misc | |
parent | 712c5758ff9685d9d8a07cbbe91aa814ca32f0a9 (diff) | |
download | brdo-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.js | 4 |
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) { |