mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +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
|
||||
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)})
|
||||
msg.Option("you", you)
|
||||
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},
|
||||
storm: function(value, old) {
|
||||
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},
|
||||
target: function(value, old) {share = value},
|
||||
|
@ -690,7 +690,7 @@ function Pane(page, field) {
|
||||
line.group == "docker" ||
|
||||
line.group == "story" ||
|
||||
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)
|
||||
kit.Selector(action, "input", function(item, index) {
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
var Config = {main: "chat",
|
||||
list: ["toast", "carte"],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user