allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [27/38] git commit: [#4019] ticket:558 Made tickets filter page highlight whole filter's name instead of icon
Date Wed, 30 Apr 2014 18:15:59 GMT
[#4019] ticket:558 Made tickets filter page highlight whole filter's name instead of icon


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/8c3737af
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/8c3737af
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/8c3737af

Branch: refs/heads/master
Commit: 8c3737afff881ef1c4266703d0e9e2e94daae393
Parents: 9d425a9
Author: Ferens Dmitriy <ferensdima@gmail.com>
Authored: Fri Mar 14 16:26:16 2014 +0200
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Apr 30 15:55:13 2014 +0000

----------------------------------------------------------------------
 .../forgetracker/widgets/resources/js/ticket-list.js  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/8c3737af/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js b/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
index 4383373..5db6980 100644
--- a/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
+++ b/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
@@ -20,13 +20,13 @@
 (function(){
 
     function ico_active() {
-    $('.ticket-filter').each(function() {
-          if ($(this).find('select option').attr('selected')) {
-              $(this).siblings('span').css('color', 'green');
-          } else {
-              $(this).siblings('span').css('color', '');
-          }
-    });
+      $('.ticket-filter').each(function() {
+        if ($(this).find('select option').attr('selected')) {
+          $(this).parent().css('color', 'green');
+        } else {
+          $(this).parent().css('color', '');
+        }
+      });
     }
 
     $(document).ready(function() {


Mime
View raw message