From f63dddb89c0744c4ce1bbb8581c821185b41dbb1 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 26 May 2015 18:41:50 +0200 Subject: [PATCH] fix search --- .../app/controllers/navigation.js.coffee | 20 +++++++++---------- .../app/views/navigation/result.jst.eco | 2 +- public/assets/images/icons.svg | 2 +- public/assets/images/icons/priority.svg | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/assets/javascripts/app/controllers/navigation.js.coffee b/app/assets/javascripts/app/controllers/navigation.js.coffee index eb093e450..d88ee233a 100644 --- a/app/assets/javascripts/app/controllers/navigation.js.coffee +++ b/app/assets/javascripts/app/controllers/navigation.js.coffee @@ -213,18 +213,18 @@ class App.Navigation extends App.Controller ) # remove search result - @$('#global-search').bind( 'focusout', (e) => - @delay( - => - @$('.search').removeClass('focused') + # @$('#global-search').bind( 'focusout', (e) => + # @delay( + # => + # @$('.search').removeClass('focused') - # remove not needed popovers - $('.popover').remove() + # # remove not needed popovers + # $('.popover').remove() - @renderResult() - 320 - ) - ) + # @renderResult() + # 320 + # ) + # ) # prevent submit of search box @$('form.search').bind( 'submit', (e) => diff --git a/app/assets/javascripts/app/views/navigation/result.jst.eco b/app/assets/javascripts/app/views/navigation/result.jst.eco index 322dad88a..9c6d08259 100644 --- a/app/assets/javascripts/app/views/navigation/result.jst.eco +++ b/app/assets/javascripts/app/views/navigation/result.jst.eco @@ -3,7 +3,7 @@ <% for item in area.result: %>
  • - + <%= item.display %>
  • diff --git a/public/assets/images/icons.svg b/public/assets/images/icons.svg index 47b0115af..0a2387f8e 100644 --- a/public/assets/images/icons.svg +++ b/public/assets/images/icons.svg @@ -1 +1 @@ -arrow-downarrow-leftarrow-rightarrow-upcheckbox-checkedcheckboxcheckmarkclockclosecloudcogdashboarddiagonal-crossdownloademailfacebookgrouphelpimportantin-processlistloadinglock-openlocklong-arrow-rightmagnifiermarkermessagemood-badmood-goodmood-okmood-super-badmood-supergoodnoteone-ticketorganizationoutbound-callsoverviewspackagepaperclippenpersonphonepluspriority-modified-inner-circlepriority-modified-outer-circlepriorityradio-checkedradioreceived-callsreopeningreply-allreplysignoutsplitstopwatchswitchViewteamtemplatestoolstotal-ticketstwitteruser \ No newline at end of file +arrow-downarrow-leftarrow-rightarrow-upcheckbox-checkedcheckboxcheckmarkclockclosecloudcogdashboarddiagonal-crossdownloademailfacebookgrouphelpimportantin-processlistloadinglock-openlocklong-arrow-rightmagnifiermarkermessagemood-badmood-goodmood-okmood-super-badmood-supergoodnoteone-ticketorganizationoutbound-callsoverviewspackagepaperclippenpersonphonepluspriority-modified-inner-circlepriority-modified-outer-circlepriorityradio-checkedradioreceived-callsreopeningreply-allreplysignoutsplitstopwatchswitchViewteamtemplatestoolstotal-ticketstwitteruser \ No newline at end of file diff --git a/public/assets/images/icons/priority.svg b/public/assets/images/icons/priority.svg index fb3aec111..7a32bf4e8 100644 --- a/public/assets/images/icons/priority.svg +++ b/public/assets/images/icons/priority.svg @@ -6,7 +6,7 @@ - + \ No newline at end of file