mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
b2619cf90f
commit
a20c85da04
5
frame.js
5
frame.js
@ -265,7 +265,7 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) { met
|
||||
}
|
||||
|
||||
var args = can.base.Obj(meta.args, []); can.core.Next(can.base.Obj(meta.inputs, []), add)
|
||||
var count = 0; function run(event, cmds, cb, silent) { return sub.run(event, cmds, function(msg) {
|
||||
var count = 0; function run(event, cmds, cb, silent) { return sub.run(event, cmds||[], function(msg) {
|
||||
sub.Status("ncmd", sub._history.length+"/"+count++)
|
||||
if (silent) { typeof cb == "function" && cb(msg); return }
|
||||
|
||||
@ -278,8 +278,7 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) { met
|
||||
_option: option, _action: action, _output: output,
|
||||
}, Volcanos.meta.libs.concat(["/frame.js", display]), function(table) { table.Conf(sub.Conf()), table._msg = msg
|
||||
table.onimport && table.onimport._init && table.onimport._init(table, msg, msg.result||[], function() {}, output)
|
||||
table.run = function(event, cmds, cb, silent) { cmds = cmds || []
|
||||
var last = sub._history[sub._history.length-1]; !can.core.Eq(last, cmds) && !silent && sub._history.push(cmds)
|
||||
table.run = function(event, cmds, cb, silent) {
|
||||
return run(event, cmds, cb, silent)
|
||||
}
|
||||
|
||||
|
@ -235,7 +235,7 @@ div.upload div.item {
|
||||
|
||||
fieldset.input {
|
||||
background-color:black;
|
||||
position:absolute;
|
||||
position:fixed;
|
||||
left:0; top:0;
|
||||
}
|
||||
fieldset.input {
|
||||
|
@ -91,6 +91,7 @@ fieldset.editor>div.output textarea.editor {
|
||||
background-color:#00000000; color:#00000000;
|
||||
caret-color:yellow;
|
||||
display:none;
|
||||
min-width:480px;
|
||||
}
|
||||
fieldset.editor>div.output textarea.editor.normal {
|
||||
caret-color:#00000000;
|
||||
@ -107,6 +108,6 @@ fieldset.editor>div.output textarea.command {
|
||||
border:solid 1px red;
|
||||
border-left:solid 3px green;
|
||||
z-index:200;
|
||||
min-width:240px;
|
||||
min-width:480px;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user