summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-01 21:55:13 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-01 21:55:13 +0000
commita94ea2a4e0f6e8e01c91c064eeabd098e2eb4044 (patch)
treecc422d2f131a1081b0a8ee4a46a79f0e17eb6615
parentb9d4e97d88acf65b5a972962a5468b9a9ed252c1 (diff)
downloadbrdo-a94ea2a4e0f6e8e01c91c064eeabd098e2eb4044.tar.gz
brdo-a94ea2a4e0f6e8e01c91c064eeabd098e2eb4044.tar.bz2
- Patch #777790 by andypost: file.module uses undocumented behaviors.unattach.
-rw-r--r--modules/file/file.js2
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);
}