diff options
Diffstat (limited to 'app/assets/javascripts/dashboard.js.coffee')
-rw-r--r-- | app/assets/javascripts/dashboard.js.coffee | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/app/assets/javascripts/dashboard.js.coffee b/app/assets/javascripts/dashboard.js.coffee index 6ef5a539b8f..3bdb9469d06 100644 --- a/app/assets/javascripts/dashboard.js.coffee +++ b/app/assets/javascripts/dashboard.js.coffee @@ -1,22 +1,7 @@ class @Dashboard constructor: -> @initSidebarTab() - - $(".dash-filter").keyup -> - terms = $(this).val() - uiBox = $(this).parents('.panel').first() - if terms == "" || terms == undefined - uiBox.find(".dash-list li").show() - else - uiBox.find(".dash-list li").each (index) -> - name = $(this).find(".filter-title").text() - - if name.toLowerCase().search(terms.toLowerCase()) == -1 - $(this).hide() - else - $(this).show() - - + new ProjectsList() initSidebarTab: -> key = "dashboard_sidebar_filter" |