1
0
mirror of https://shylinux.com/x/volcanos synced 2025-07-01 20:11:19 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-02-28 14:17:32 +08:00
parent 82b234b002
commit 87841a9e2f
2 changed files with 4 additions and 2 deletions

View File

@ -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 }),

View File

@ -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: [