From 860c3a34d37e6b5d66e46c5b9027c54445e7f95a Mon Sep 17 00:00:00 2001 From: Jayant Jain Date: Sat, 22 Mar 2014 05:51:44 +0530 Subject: [PATCH] Fixes #641, the list of levels in editor reloads properly upon changing language --- app/views/kinds/SearchView.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/kinds/SearchView.coffee b/app/views/kinds/SearchView.coffee index 1198f74a1..6fae0228d 100644 --- a/app/views/kinds/SearchView.coffee +++ b/app/views/kinds/SearchView.coffee @@ -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()