Handle nil description, not_found case
This commit is contained in:
@@ -38,6 +38,9 @@ class window.Search
|
||||
else if data.status == 'fail'
|
||||
_search.hideSpinner()
|
||||
_page.print data.html
|
||||
else if data.status == 'not_found'
|
||||
_search.hideSpinner()
|
||||
alert "Not found"
|
||||
false
|
||||
|
||||
showSuggestions: (values) ->
|
||||
|
||||
Reference in New Issue
Block a user