fix #1749 (don't create a new history entry when renaming a list)

This commit is contained in:
rolux 2013-08-03 19:35:29 +00:00
commit 9942e4aa16
2 changed files with 7 additions and 3 deletions

View file

@ -446,7 +446,7 @@ pandora.URL = (function() {
title = pandora.getPageTitle(stateOrURL)
|| pandora.getDocumentTitle(),
url;
pandora.expandURL = expandURL;
pandora.replaceURL = expandURL;
if (Ox.isObject(stateOrURL)) {
state = stateOrURL;
} else {
@ -486,7 +486,7 @@ pandora.URL = (function() {
} else {
if (
!pandora.$ui.appPanel
|| pandora.expandURL
|| pandora.replaceURL
|| keys.every(function(key) {
return [
'listColumnWidth', 'listColumns', 'listSelection',
@ -505,7 +505,7 @@ pandora.URL = (function() {
state,
pandora.getPageTitle(state) || pandora.getDocumentTitle()
);
pandora.expandURL = false;
pandora.replaceURL = false;
}
};