fixes to main app to support reports

This commit is contained in:
Oliver Gorwits
2013-03-10 23:40:53 +00:00
parent 55a0f3d8dc
commit 13af853582
6 changed files with 25 additions and 2 deletions

View File

@@ -44,7 +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.
if (window.History && window.History.enabled) {
// and just skip this bit if it's the reports display.
if (path != 'report' && window.History && window.History.enabled) {
is_from_history_plugin = 1;
window.History.replaceState(
{name: tab, fields: $(form).serializeArray()},