summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-21 07:26:42 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-21 07:26:42 +0000
commitedfa0f8a1b6f34cabcad7066e6b9329971760b84 (patch)
tree14d16fbcdb6465e2e62537e5e1306f0ce1083609
parent91d81f438430595c8ede1fd82710b2a25018ea89 (diff)
- Add comment about FF5 bug workaround
git-svn-id: https://svn.roundcube.net/trunk@4949 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index df14fc9d9..35136bf1a 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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;
}