diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-01 21:55:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-01 21:55:13 +0000 |
commit | a94ea2a4e0f6e8e01c91c064eeabd098e2eb4044 (patch) | |
tree | cc422d2f131a1081b0a8ee4a46a79f0e17eb6615 /modules | |
parent | b9d4e97d88acf65b5a972962a5468b9a9ed252c1 (diff) | |
download | brdo-a94ea2a4e0f6e8e01c91c064eeabd098e2eb4044.tar.gz brdo-a94ea2a4e0f6e8e01c91c064eeabd098e2eb4044.tar.bz2 |
- Patch #777790 by andypost: file.module uses undocumented behaviors.unattach.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/file/file.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/file.js b/modules/file/file.js index 1553e6520..efea0ec07 100644 --- a/modules/file/file.js +++ b/modules/file/file.js @@ -31,7 +31,7 @@ Drupal.behaviors.fileButtons = { $('input.form-submit', context).bind('mousedown', Drupal.file.disableFields); $('div.form-managed-file input.form-submit', context).bind('mousedown', Drupal.file.progressBar); }, - unattach: function (context) { + detach: function (context) { $('input.form-submit', context).unbind('mousedown', Drupal.file.disableFields); $('div.form-managed-file input.form-submit', context).unbind('mousedown', Drupal.file.progressBar); } |