summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index df14fc9d9..35136bf1a 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5866,6 +5866,8 @@ function rcube_webmail()
// remember which elem was disabled before lock
if (lock && elm.disabled)
this.disabled_form_elements.push(elm);
+ // check this.disabled_form_elements before inArray() as a workaround for FF5 bug
+ // http://bugs.jquery.com/ticket/9873
else if (lock || (this.disabled_form_elements && $.inArray(elm, this.disabled_form_elements)<0))
elm.disabled = lock;
}