From 2a82e4baddc53cc33c69aa085b4a8a8f69eedb8e Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 2 Apr 2014 15:00:49 -0500 Subject: [PATCH] switch out of advanced search when a submission from the other form completes --- app/assets/javascripts/outfits/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/outfits/edit.js b/app/assets/javascripts/outfits/edit.js index 2e54ea10..1c1ee6ee 100644 --- a/app/assets/javascripts/outfits/edit.js +++ b/app/assets/javascripts/outfits/edit.js @@ -1156,6 +1156,7 @@ View.Search = function (wardrobe) { help_el.show(); } wrapper.toggleClass('has-results', items.length > 0); + wrapper.removeClass('advanced'); fit(); });