bug/bug/bug.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit e20dcb0f54d8b0634943051a644baec358e26ed0 Author: Loic Dachary <l...@dachary.org> Date: Thu Oct 20 16:40:06 2011 +0200 Lookup in the HTML output using case insensitive match because IE8 converts element names to upper case where firefox converts them to lowercase. diff --git a/bug/bug/bug.js b/bug/bug/bug.js index dad6af5..545b825 100644 --- a/bug/bug/bug.js +++ b/bug/bug/bug.js @@ -79,8 +79,8 @@ url: '', - state_signin_error_regexps: ['class="throw_error">([^<]*)'], - state_signin_success_regexp: 'Log out</a>([^<]*)', + state_signin_error_regexps: [/CLASS="THROW_ERROR">([^<]*)/i], + state_signin_success_regexp: /LOG&NBSP;OUT</A>([^<]*)/i, state_signin: function() { var element = $('.signin'); @@ -207,8 +207,8 @@ } }, - state_submit_error_regexps: ['class="throw_error">([^<]*)', 'font size="\\+2">([^<]*)'], - state_submit_success_regexp: 'title>Bug ([0-9]+)', + state_submit_error_regexps: [/CLASS="THROW_ERROR">([^<]*)/i, /FONT SIZE="\\+2">([^<]*)/i], + state_submit_success_regexp: /TITLE>Bug ([0-9]+)/i, state_submit_element: 'html', state_submit: function() { _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits