[Libreoffice-commits] website.git: bug/bug
Rob Snelders
programming at ertai.nl
Sat Feb 16 15:44:00 PST 2013
bug/bug/bug.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fa5a1d94edc9e38944d4211eaf684d14f5f11805
Author: Rob Snelders <programming at ertai.nl>
Date: Sun Feb 17 00:43:52 2013 +0100
fix the posting of some components
diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index d52d9da..1fc91e1 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -273,7 +273,7 @@
$(element).addClass('inprogress');
}
$.bug.error_clear();
- var component = $('.state_component .chosen').attr('data').replace('_',' ');
+ var component = $('.state_component .chosen').attr('data').replace(new RegExp('_', "gm"),' ');
var short_desc = $.bug.sub_component + ': ' + $('.state_description .short').val();
//Add Operating System
var op_sys = $('.state_op_sys .chosen').attr('data');
More information about the Libreoffice-commits
mailing list