mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
9e256717c2
commit
b16bc2632d
@ -333,12 +333,13 @@ Volcanos(chat.ONEXPORT, {
|
|||||||
session: function(can, key, value) { if (value) { value = JSON.stringify(value) }
|
session: function(can, key, value) { if (value) { value = JSON.stringify(value) }
|
||||||
return can.misc.sessionStorage(can, [can.ConfSpace()||can.misc.Search(can, ice.POD), can.ConfIndex(), key, location.pathname], value)
|
return can.misc.sessionStorage(can, [can.ConfSpace()||can.misc.Search(can, ice.POD), can.ConfIndex(), key, location.pathname], value)
|
||||||
},
|
},
|
||||||
title: function(can, title) { if (can.base.isIn(title, web.DESKTOP)) { return }
|
title: function(can, title) { if (!can.isCmdMode()) { return }
|
||||||
var list = []; function push(p) { p && list.indexOf(p) == -1 && list.push(p) }
|
var list = []; function push(p) { p && list.indexOf(p) == -1 && list.push(p) }
|
||||||
push(can.user.trans(can, can.ConfIndex(), can.Conf("help")))
|
if (!can.base.isIn(can.ConfIndex(), web.PORTAL)) {
|
||||||
// push(can.ConfIndex())
|
push(can.user.trans(can, can.ConfIndex(), can.Conf("help")))
|
||||||
|
}
|
||||||
can.core.List(arguments, function(title, index) { index > 0 && push(title) }), push(can.ConfSpace()||can.misc.Search(can, ice.POD))
|
can.core.List(arguments, function(title, index) { index > 0 && push(title) }), push(can.ConfSpace()||can.misc.Search(can, ice.POD))
|
||||||
can.isCmdMode() && can.user.title(list.join(" "))
|
can.user.title(list.join(" "))
|
||||||
},
|
},
|
||||||
args: function(can) { return can.Option() },
|
args: function(can) { return can.Option() },
|
||||||
link: function(can) {
|
link: function(can) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user