complete the code for admin tasks page loading

This commit is contained in:
Oliver Gorwits
2013-05-05 21:45:17 +01:00
parent 38f70624f3
commit 3271c01931
7 changed files with 63 additions and 17 deletions

View File

@@ -44,8 +44,8 @@ function do_search (event, tab) {
// update browser search history with the new query.
// however if it's the same tab, this is a *replace* of the query url.
// and just skip this bit if it's the reports display.
if (path != 'report' && window.History && window.History.enabled) {
// and just skip this bit if it's the report or admin display.
if (path != 'report' && path != 'admin' && window.History && window.History.enabled) {
is_from_history_plugin = 1;
window.History.replaceState(
{name: tab, fields: $(form).serializeArray()},