[Libreoffice-commits] .: bug/bug
Loic Dachary
loic at kemper.freedesktop.org
Thu Sep 22 03:34:39 PDT 2011
bug/bug/bug.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 757202388faaab008748e8cc52987b93f75f920f
Author: Loic Dachary <loic at dachary.org>
Date: Thu Sep 22 12:34:33 2011 +0200
do not use text() to retrieve the value of the component as it may contain a line break
diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index a3c5e1a..b65927e 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -179,7 +179,7 @@
if(!element.hasClass('initialized')) {
$('.go', element).click(function() {
var version = $('.state_version .chosen').attr('data');
- var component = $('.state_component .chosen').text();
+ var component = $('.state_component .chosen').attr('data').replace('_',' ');
var short_desc = $('.state_subcomponent .active_subcomponent .chosen').attr('data') + ': ' + $('.state_description .short').val();
var comment = $('.state_description .long').val();
$("body").css("cursor", "progress");
More information about the Libreoffice-commits
mailing list