Add cmd interface

This commit is contained in:
RainLoop Team 2016-08-22 00:30:34 +03:00
parent 17669b7be0
commit e6e1a19477
22 changed files with 540 additions and 111 deletions

View file

@ -4,7 +4,7 @@ import _ from '_';
import ko from 'ko';
import progressJs from 'progressJs';
import * as Links from 'Common/Links';
import {root} from 'Common/Links';
import {getNotification} from 'Common/Translator';
import {StorageResultType, Notification} from 'Common/Enums';
import {pInt, isNormal, isArray, inArray, isUnd} from 'Common/Utils';
@ -225,7 +225,7 @@ class AdminApp extends AbstractApp
if (!Settings.appSettingsGet('allowAdminPanel'))
{
routeOff();
setHash(Links.root(), true);
setHash(root(), true);
routeOff();
_.defer(() => {