diff options
author | alecpl <alec@alec.pl> | 2011-07-21 07:26:42 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-07-21 07:26:42 +0000 |
commit | 1b3ce758d402f41731b883126668feebb18e3191 (patch) | |
tree | 99b914eeece2ec06dd127d7b6ad673428fca3564 | |
parent | d8aff9a65131f5cca43d3cb1e77f8960e94a9626 (diff) |
- Add comment about FF5 bug workaround
-rw-r--r-- | program/js/app.js | 2 |
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; } |