forked from x/volcanos
opt header
This commit is contained in:
parent
ac11af8a35
commit
6a76d45482
@ -125,7 +125,8 @@ Volcanos("misc", {help: "工具模块", Message: function(event, can) { var msg
|
||||
msg[item] && (form[item] = msg[item])
|
||||
})
|
||||
|
||||
can.misc.POST(can, msg, (can.Conf("iceberg")?can.Conf("iceberg"):"/chat/")+dataset.names.toLowerCase()+"?="+(msg._can.sup||msg._can)._name, form, function(msg) {
|
||||
var path = (can.Conf("iceberg")||"/chat/")+dataset.names.toLowerCase()
|
||||
can.misc.POST(can, msg, path+"?="+(msg._can.sup||msg._can)._name, form, function(msg) {
|
||||
typeof cb == "function" && cb(msg)
|
||||
})
|
||||
}),
|
||||
|
@ -105,8 +105,6 @@ Volcanos("onaction", {help: "控件交互", list: [], _init: function(can, msg,
|
||||
can.menu && can.page.Remove(can, can.menu.first)
|
||||
can.menu = can.user.carte(event, can, can.ondetail, list, cb)
|
||||
can.page.Modify(can, can.menu.first, {style: {left: can._target.offsetWidth, top: event.target.offsetTop+60-can._output.scrollTop}})
|
||||
|
||||
// can.onmotion.downward(can, can.menu.first, can._target.offsetHeight, 10-list.length)
|
||||
},
|
||||
|
||||
"创建": function(event, can) { can.onaction.create(event, can) },
|
||||
|
Loading…
x
Reference in New Issue
Block a user