mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
Merge pull request #2317 from shashankmehta/settings-rendering-issue
Prevent settings page from rendering same page twice
This commit is contained in:
commit
13fa84a8bf
@ -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…
Reference in New Issue
Block a user