fixes #1958 - Title does not reset on home browse (Web Interface)

This commit is contained in:
Luke Pulverenti 2016-09-02 00:11:10 -04:00
parent 96a169fb05
commit 2737d1f9f9
39 changed files with 97 additions and 139 deletions

View file

@ -203,7 +203,7 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
return;
//}
}
viewManager.tryRestoreView(currentRequest).then(function () {
viewManager.tryRestoreView(currentRequest, function () {
// done
currentRouteInfo = {
@ -211,7 +211,12 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
path: ctx.path
};
}, onNewViewNeeded);
}).catch(function (result) {
if (!result || !result.cancelled) {
onNewViewNeeded();
}
});
}
var firstConnectionResult;