Commit a94ea2a4 authored by Dries's avatar Dries
Browse files

- Patch #777790 by andypost: file.module uses undocumented behaviors.unattach.

parent b9d4e97d
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment