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

@@ -615,6 +615,11 @@ define([
});
};
// Admin
common.adminRpc = function (data, cb) {
postMessage("ADMIN_RPC", data, cb);
};
// Network
common.onNetworkDisconnect = Util.mkEvent();
common.onNetworkReconnect = Util.mkEvent();