forked from 0x2620/pandora
fix #1749 (don't create a new history entry when renaming a list)
This commit is contained in:
parent
2377269391
commit
9942e4aa16
2 changed files with 7 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue