fixes #1958 - Title does not reset on home browse (Web Interface)
This commit is contained in:
parent
96a169fb05
commit
2737d1f9f9
39 changed files with 97 additions and 139 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue