Commit 144eb931 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

QfqPage.js: history: do not create a history entry for each tab click, instead...

QfqPage.js: history: do not create a history entry for each tab click, instead just set the current history to the current tab, i.e. the back button won't take the user thru the tab history.
parent 117e8c3e
......@@ -57,7 +57,7 @@ if (!QfqNS) {
var currentTabId = bsTabs.getCurrentTab();
QfqNS.Log.debug('Saving state: ' + currentTabId);
QfqNS.PageTitle.setSubTitle(bsTabs.getTabName(currentTabId));
this.settings.pageState.newPageState(currentTabId, QfqNS.PageTitle.get());
this.settings.pageState.setPageState(currentTabId, QfqNS.PageTitle.get());
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment