mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
9 lines
473 B
JavaScript
9 lines
473 B
JavaScript
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
|
can.current = msg.TableDetail(), can.onimport.layout(can)
|
|
},
|
|
layout: function(can) { var item = can.current; can.sup.onexport.title(can, item.name||item.link.split("?")[0])
|
|
can.page.Appends(can, can._output, [{type: html.IFRAME, src: item.link, height: can.ConfHeight(), width: can.ConfWidth(), style: {border: 0}}])
|
|
},
|
|
})
|
|
Volcanos(chat.ONACTION, {open: function(event, can) { can.user.open(can.current.link) }})
|