mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
2720601296
commit
2374b09767
2
frame.js
2
frame.js
@ -140,7 +140,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) {
|
||||
}), meta.inputs && sub.onappend._option(sub, meta, sub._option, meta.msg)
|
||||
sub._legend && (sub._legend.onclick = function(event) {
|
||||
can.user.carte(event, sub, sub.onaction, sub.onaction.list.concat([[ctx.ACTION].concat(can.core.Item(meta.feature._trans))]), function(event, button) { can.misc.Event(event, sub, function(msg) {
|
||||
can.misc.Inputs(can, msg, [ctx.ACTION, button], null, meta) ||
|
||||
can.misc.Inputs(sub, msg, [ctx.ACTION, button], null, meta) ||
|
||||
msg.RunAction(event, sub.sub, [ctx.ACTION, button]) ||
|
||||
msg.RunAction(event, sub, [ctx.ACTION, button]) ||
|
||||
sub.runAction(event, button, [], function(msg) { can.onappend._output(sub, msg) })
|
||||
|
@ -172,6 +172,7 @@ Volcanos("user", {
|
||||
can.user.carteRight(event, can, {_trans: trans}, list, function(event, button) { can.Update(can.request(event, item), [ctx.ACTION, button]) })
|
||||
},
|
||||
input: function(event, can, form, cb, button) { if (!form || form.length == 0) { return cb() }
|
||||
event = event||{}
|
||||
var msg = can.request(event); event = event._event||event; var need = {}
|
||||
var title = msg.Option(wiki.TITLE)
|
||||
var ui = can.page.Append(can, document.body, [{view: [[html.INPUT].concat((can.ConfIndex()||"").split("."), msg.Option(mdb.TYPE), [chat.FLOAT])], list: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user