mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
6d34e48d2c
commit
020df619b1
@ -5,7 +5,9 @@ Volcanos(chat.ONIMPORT, {
|
||||
return {view: [[html.ITEM, item.type]], list: [item.type != html.BUTTON && {text: [can.user.trans(can, item.name, item._trans, html.INPUT), "", mdb.NAME]}, item.need == "must" && {text: ["*", "", "need"]}], _init: function(target) {
|
||||
item.type == html.BUTTON && (item.onclick = function(event) { var args = []
|
||||
can.core.Item(can.page.SelectArgs(can, can._output)[0], function(key, value) { args.push(key, value) })
|
||||
can.Update(can.request(event, {_handle: ice.TRUE}), [ctx.ACTION, item.name].concat(args))
|
||||
can.Update(can.request(event, {_handle: ice.TRUE}), [ctx.ACTION, item.name].concat(args), function() {
|
||||
can.Update()
|
||||
})
|
||||
}), can.onappend.input(can, item, "", target)
|
||||
}, onclick: function(event) {
|
||||
can.page.Select(can, event.currentTarget, html.INPUT, function(target) { target.focus() })
|
||||
|
Loading…
x
Reference in New Issue
Block a user