Add admin panel

This commit is contained in:
yflory
2019-03-27 17:00:28 +01:00
parent 5a629e8681
commit bb5f03bd0f
15 changed files with 193 additions and 2 deletions

View File

@@ -228,6 +228,10 @@ define([
ctx.sframeChan.event('EV_SET_TAB_TITLE', newTitle);
};
funcs.setHash = function (hash) {
ctx.sframeChan.event('EV_SET_HASH', hash);
};
funcs.setLoginRedirect = function (cb) {
cb = cb || $.noop;
ctx.sframeChan.query('Q_SET_LOGIN_REDIRECT', null, cb);