From edfa0f8a1b6f34cabcad7066e6b9329971760b84 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 21 Jul 2011 07:26:42 +0000 Subject: - Add comment about FF5 bug workaround git-svn-id: https://svn.roundcube.net/trunk@4949 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3