[Libreoffice-commits] .: bug/bug

Loic Dachary loic at kemper.freedesktop.org
Tue Sep 20 03:54:42 PDT 2011


 bug/bug/bug.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e50f01352712a53a82ea09363f7a98d5268878a5
Author: Loic Dachary <loic at dachary.org>
Date:   Tue Sep 20 12:54:36 2011 +0200

    fix extract of subcomponent in related bugs

diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 9b21a9f..5e983ea 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -233,7 +233,7 @@
         refresh_related_bugs: function() {
             $('.related_bugs').empty();
             var component = $('.state_component .chosen').attr('data').replace('_','%20');
-            var subcomponent = $('.state_subcomponent .subcomponent').val();
+            var subcomponent = $('.state_subcomponent .active_subcomponent .chosen').attr('data');
             var list = '/buglist.cgi?columnlist=short_desc&component=' + component + '&product=LibreOffice&query_format=advanced&short_desc_type=allwordssubstr&ctype=csv&short_desc=' + subcomponent;
             $.bug.ajax('GET', list).pipe(function(data) {
                 var lines = data.split('\n');


More information about the Libreoffice-commits mailing list