Fixes #641, the list of levels in editor reloads properly upon changing language

This commit is contained in:
Jayant Jain 2014-03-22 05:51:44 +05:30
parent 893f446b0a
commit 860c3a34d3

View file

@ -53,6 +53,7 @@ module.exports = class ThangTypeHomeView extends View
hash = document.location.hash[1..]
searchInput = @$el.find('#search')
searchInput.val(hash) if hash?
delete @collection?.term
searchInput.trigger('change')
searchInput.focus()