Skip to content

Commit

Permalink
Merge pull request silverstripe#5211 from stevie-mayhew/pulls/reset-b…
Browse files Browse the repository at this point in the history
…utton

BUGFIX: don't try and switch out of context of the tab system
  • Loading branch information
robbieaverill committed Dec 5, 2017
2 parents b31b22a + 805c38f commit 2538f59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion admin/javascript/LeftAndMain.js
Expand Up @@ -1334,7 +1334,6 @@ jQuery.noConflict();
}

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.loadPanel(url, "", {}, true);

return false;
Expand Down

0 comments on commit 2538f59

Please sign in to comment.