mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Prevent settings page from rendering same page twice
Closes #2316 - There was a check to prevent rerendering of same content pane but it wasn't working - Fixed the check for this
This commit is contained in:
parent
383da31484
commit
ab2656960a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
Ghost.router.navigate('/settings/' + id + '/');
|
Ghost.router.navigate('/settings/' + id + '/');
|
||||||
Ghost.trigger('urlchange');
|
Ghost.trigger('urlchange');
|
||||||
if (this.pane && id === this.pane.el.id) {
|
if (this.pane && id === this.pane.id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_.result(this.pane, 'destroy');
|
_.result(this.pane, 'destroy');
|
||||||
|
|
Loading…
Add table
Reference in a new issue