mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
venkman only
freeze stack outliner before restoring state
This commit is contained in:
parent
a41528a381
commit
7d59ea30bd
@ -1223,7 +1223,9 @@ function sv_restore ()
|
||||
}
|
||||
|
||||
if ("savedState" in this) {
|
||||
this.freeze();
|
||||
restoreBranch (this.stack.childData, this.savedState);
|
||||
this.thaw();
|
||||
this.scrollTo (this.savedState.firstVisible, -1);
|
||||
}
|
||||
}
|
||||
|
@ -1223,7 +1223,9 @@ function sv_restore ()
|
||||
}
|
||||
|
||||
if ("savedState" in this) {
|
||||
this.freeze();
|
||||
restoreBranch (this.stack.childData, this.savedState);
|
||||
this.thaw();
|
||||
this.scrollTo (this.savedState.firstVisible, -1);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user