Move Dashboard to a new module
This commit is contained in:
parent
d4fbe300d1
commit
81c6dc6907
4 changed files with 266 additions and 225 deletions
|
@ -485,13 +485,6 @@ define(['loading', 'globalize', 'events', 'viewManager', 'skinManager', 'backdro
|
|||
return (page.len || 0) > 0;
|
||||
}
|
||||
|
||||
function showDirect(path) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
resolveOnNextShow = resolve;
|
||||
page.show(baseUrl() + path);
|
||||
});
|
||||
}
|
||||
|
||||
function show(path, options) {
|
||||
if (path.indexOf('/') !== 0 && path.indexOf('://') === -1) {
|
||||
path = '/' + path;
|
||||
|
@ -625,7 +618,6 @@ define(['loading', 'globalize', 'events', 'viewManager', 'skinManager', 'backdro
|
|||
appRouter.param = param;
|
||||
appRouter.back = back;
|
||||
appRouter.show = show;
|
||||
appRouter.showDirect = showDirect;
|
||||
appRouter.start = start;
|
||||
appRouter.baseUrl = baseUrl;
|
||||
appRouter.canGoBack = canGoBack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue