mirror of
https://shylinux.com/x/ContextOS
synced 2025-06-26 18:07:30 +08:00
add some
This commit is contained in:
parent
7d4a0efa09
commit
b105c70ed0
@ -340,6 +340,10 @@ var page = Page({
|
|||||||
Show: function() {var pane = field.Pane
|
Show: function() {var pane = field.Pane
|
||||||
if (river && storm && field.Pane.Load(river+"."+storm, output)) {return}
|
if (river && storm && field.Pane.Load(river+"."+storm, output)) {return}
|
||||||
|
|
||||||
|
return can.Page(can, "chat", ["Action"], function(page) {
|
||||||
|
page.Action.Show(river, storm)
|
||||||
|
}, document.body)
|
||||||
|
|
||||||
var msg = pane.Event(event, {}, {name: pane.Zone("show", river, storm)})
|
var msg = pane.Event(event, {}, {name: pane.Zone("show", river, storm)})
|
||||||
msg.Option("you", you)
|
msg.Option("you", you)
|
||||||
output.innerHTML = "", pane.Appends([river, storm], "plugin", ["name", "help"], "name", true, null, function() {
|
output.innerHTML = "", pane.Appends([river, storm], "plugin", ["name", "help"], "name", true, null, function() {
|
||||||
@ -355,7 +359,7 @@ var page = Page({
|
|||||||
river: function(value, old) {temp = value},
|
river: function(value, old) {temp = value},
|
||||||
storm: function(value, old) {
|
storm: function(value, old) {
|
||||||
river && storm && field.Pane.Save(river+"."+storm, output)
|
river && storm && field.Pane.Save(river+"."+storm, output)
|
||||||
;(river = page.river.Pane.which.get(), storm = value) && field.Pane.Show()
|
;(river = page.river.Pane.which.get(), storm = value) && field.Pane.Show(river, storm)
|
||||||
},
|
},
|
||||||
source: function(value, old) {input = value},
|
source: function(value, old) {input = value},
|
||||||
target: function(value, old) {share = value},
|
target: function(value, old) {share = value},
|
||||||
|
@ -690,7 +690,7 @@ function Pane(page, field) {
|
|||||||
line.group == "docker" ||
|
line.group == "docker" ||
|
||||||
line.group == "story" ||
|
line.group == "story" ||
|
||||||
line.group == "favor"
|
line.group == "favor"
|
||||||
) && can.Plugin(can, ui.item.Meta, function(event, cmds, cbs) {
|
) && can.Plugin(can.action||can, ui.item.Meta, "state", function(event, cmds, cbs) {
|
||||||
var msg = ctx.Event(event)
|
var msg = ctx.Event(event)
|
||||||
kit.Selector(action, "input", function(item, index) {
|
kit.Selector(action, "input", function(item, index) {
|
||||||
item.value && msg.Option(item.name, item.value)
|
item.value && msg.Option(item.name, item.value)
|
||||||
@ -1718,3 +1718,7 @@ function Output(plugin, type, msg, cb, target, option) {
|
|||||||
return plugin.Outputs[type] = target, target.Output = output
|
return plugin.Outputs[type] = target, target.Output = output
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
var Config = {main: "chat",
|
||||||
|
list: ["toast", "carte"],
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user