Permalink
Browse files

ENHANCEMENT: SSF-33 always selecting the first tab (list view) when d…

…oing a search
  • Loading branch information...
1 parent 3223404 commit ebf23abbbfde2240200c6d544627b7f6695a0fb7 Julian Seidenberg committed Mar 6, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 admin/javascript/LeftAndMain.js
@@ -415,7 +415,10 @@ jQuery.noConflict();
});
var url = this.attr('action');
if(nonEmptyInputs.length) url += '?' + nonEmptyInputs.serialize();
- this.closest('.cms-container').entwine('ss').loadPanel(url);
+
+ var container = this.closest('.cms-container');
+ container.find('.cms-edit-form').tabs('select',0); //always switch to the first tab (list view) when searching
+ container .entwine('ss').loadPanel(url);
return false;
},

0 comments on commit ebf23ab

Please sign in to comment.