[Libreoffice-commits] .: bug/bug

Loic Dachary loic at kemper.freedesktop.org
Thu Oct 20 07:46:47 PDT 2011


 bug/bug/bug.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dc899ac7c9a57f3ebcf2fda53ecca2fef624e20b
Author: Loic Dachary <loic at dachary.org>
Date:   Thu Oct 20 16:46:41 2011 +0200

    fix quotes in regexps surrounded by // instead of ''

diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 545b825..751414f 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -80,7 +80,7 @@
         url: '',
 
         state_signin_error_regexps: [/CLASS="THROW_ERROR">([^<]*)/i],
-        state_signin_success_regexp: /LOG&NBSP;OUT</A>([^<]*)/i,
+        state_signin_success_regexp: /LOG&NBSP;OUT<\/A>([^<]*)/i,
 
         state_signin: function() {
             var element = $('.signin');
@@ -207,7 +207,7 @@
             }
         },
 
-        state_submit_error_regexps: [/CLASS="THROW_ERROR">([^<]*)/i, /FONT SIZE="\\+2">([^<]*)/i],
+        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',
 


More information about the Libreoffice-commits mailing list