router: ensure currentView is set
This commit is contained in:
parent
bc8943abc2
commit
b2a90109bb
@ -119,8 +119,10 @@ define(function () {
|
|||||||
if (d in views) {
|
if (d in views) {
|
||||||
views[d]()
|
views[d]()
|
||||||
|
|
||||||
if (running) {
|
if (!currentView)
|
||||||
currentView = d
|
currentView = d
|
||||||
|
|
||||||
|
if (running) {
|
||||||
if (currentObject)
|
if (currentObject)
|
||||||
if ("node" in currentObject)
|
if ("node" in currentObject)
|
||||||
gotoNode(currentObject.node)
|
gotoNode(currentObject.node)
|
||||||
|
Loading…
Reference in New Issue
Block a user