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