diff --git a/const.js b/const.js index 9c409cd5..ad464bbe 100644 --- a/const.js +++ b/const.js @@ -179,6 +179,7 @@ var tcp = { SERVICE: "service", HOSTNAME: "hostname", WIFI: "wifi", SSID: "ssid", LOCALHOST: "localhost", + DIAL: "dial", DIRECT: "direct", SEND: "send", RECV: "recv", } var nfs = { @@ -284,6 +285,7 @@ var chat = { MATRIX: "matrix", TUTOR: "tutor", FLOWS: "flows", + ADMIN: "admin", HEADER: "Header", ACTION: "Action", FOOTER: "Footer", libs: ["base.js", "core.js", "date.js", "misc.js", "page.js", "user.js"].map(function(p) { return "/lib/"+p }), diff --git a/plugin/story/spides.js b/plugin/story/spides.js index 2948b313..30039b9b 100644 --- a/plugin/story/spides.js +++ b/plugin/story/spides.js @@ -74,8 +74,8 @@ Volcanos(chat.ONDETAIL, { }, oncontextmenu: function(event, can, tree) { can.user.carte(event, can, {}, [ - wiki.PORTAL, chat.DESKTOP, web.DREAM, web.STORE, web.ADMIN, - wiki.WORD, code.VIMER, code.STATUS, code.COMPILE, cli.RUNTIME, code.XTERM, + wiki.PORTAL, chat.DESKTOP, chat.ADMIN, wiki.WORD, web.DREAM, web.STORE, + code.VIMER, code.STATUS, code.COMPILE, cli.RUNTIME, code.XTERM, ], function(event, button) { if (button == web.ADMIN) { can.onappend.plugin(can, {index: web.CHAT_IFRAME, args: [