Merge pull request #5211 from stevie-mayhew/pulls/reset-button

BUGFIX: don't try and switch out of context of the tab system
This commit is contained in:
Robbie Averill 2017-12-05 19:59:49 +13:00 committed by GitHub
commit 2538f59ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1334,7 +1334,6 @@ jQuery.noConflict();
} }
var container = this.closest('.cms-container'); 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); container.loadPanel(url, "", {}, true);
return false; return false;