Search empty results
parent
713d8f6db3
commit
c70a96cb22
|
@ -209,8 +209,6 @@ SearchDirective = ($log, $compile, $templatecache, $routeparams, $location) ->
|
|||
|
||||
$el.on "click", ".search-filter li > a", (event) ->
|
||||
event.preventDefault()
|
||||
# Do nothing if no results found.
|
||||
return if not lastSeatchResults
|
||||
target = angular.element(event.currentTarget)
|
||||
|
||||
sectionName = target.parent().data("name")
|
||||
|
|
|
@ -2,7 +2,9 @@ a.close(href="", title="close")
|
|||
span.icon.icon-delete
|
||||
form
|
||||
h2.title Search
|
||||
input(type="text", name="text", id="search-text", placeholder="What are you looking for?", data-required="true")
|
||||
input.hidden(type="submit")
|
||||
a.button.button-green(href="", title="Accept")
|
||||
span Search
|
||||
fieldset
|
||||
input(type="text", name="text", id="search-text", placeholder="What are you looking for?", data-required="true")
|
||||
fieldset
|
||||
input.hidden(type="submit")
|
||||
a.button.button-green(href="", title="Accept")
|
||||
span Search
|
||||
|
|
|
@ -24,7 +24,7 @@ section.search-filter
|
|||
span.num 0
|
||||
span.name Wiki Pages
|
||||
|
||||
// li
|
||||
// a(href="#")
|
||||
// span.icon.icon-edit
|
||||
// | 3 Users
|
||||
//- li
|
||||
//- a(href="#")
|
||||
//- span.icon.icon-edit
|
||||
//- | 3 Users
|
||||
|
|
Loading…
Reference in New Issue