From 35f77e68c515d85b343337ad8139cfe5ff72c456 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 6 Nov 2023 13:47:25 +0800 Subject: [PATCH] add some --- const.js | 2 +- plugin/input/key.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/const.js b/const.js index 8f1b71fb..b39a3bab 100644 --- a/const.js +++ b/const.js @@ -70,7 +70,7 @@ var mdb = {FOREACH: "*", RANDOMS: "%", } var web = {CHAT: "chat", PORTAL: "portal", STUDIO: "studio", SERVICE: "service", DOMAIN: "domain", SPIDE: "spide", SPACE: "space", ROUTE: "route", DREAM: "dream", - SHARE: "share", COUNT: "count", + TOKEN: "token", SHARE: "share", COUNT: "count", WORKER: "worker", SERVER: "server", GATEWAY: "gateway", OPEN: "open", LINK: "link", HTTP: "http", URL: "url", SHARE_CACHE: "/share/cache/", SHARE_LOCAL: "/share/local/", AT: ice.AT, QS: ice.QS, diff --git a/plugin/input/key.js b/plugin/input/key.js index 0d6d0d59..e330531f 100644 --- a/plugin/input/key.js +++ b/plugin/input/key.js @@ -1,7 +1,7 @@ Volcanos(chat.ONFIGURE, {key: { _load: function(event, can, cb, target, name, value) { if (target._done && target.value) { return can.onmotion.hidden(can, can._target, can.Status("total") > 0)} target._done = true - can.onmotion.hidden(can, can._target) + can.onmotion.focus(can, target), can.onmotion.hidden(can, can._target) can.runAction(event, mdb.INPUTS, [name, value||""], function(msg) { name == ctx.INDEX && can.core.Item(can.onengine.plugin.meta, function(key) { msg.Push(ctx.INDEX, can.core.Keys(ice.CAN, key)) }) can._show(can, msg, cb, target, name)