mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
cb5d5d992e
commit
e70b727c94
3
frame.js
3
frame.js
@ -97,6 +97,9 @@ Volcanos(chat.ONDAEMON, {
|
||||
can.base.isFunc(sub.Update) && sub.Update()
|
||||
}
|
||||
},
|
||||
cookie: function(can, msg, arg) {
|
||||
can.misc.Cookie(can, arg[1], arg[0])
|
||||
},
|
||||
grant: function(can, msg, sub, arg) {
|
||||
var toast = can.user.toast(can, {duration: arg[1]||10000, content: "grant "+arg[0], action: shy({
|
||||
confirm: function(event) { toast.close(), can.run(can.request(event, {name: arg[0]}), [ctx.ACTION, ctx.RUN, web.SPACE, aaa.LOGIN]) },
|
||||
|
Loading…
x
Reference in New Issue
Block a user