[Libreoffice-commits] .: bug/bug
Loic Dachary
loic at kemper.freedesktop.org
Thu Oct 20 07:40:37 PDT 2011
bug/bug/bug.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit e20dcb0f54d8b0634943051a644baec358e26ed0
Author: Loic Dachary <loic at 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() {
More information about the Libreoffice-commits
mailing list