diff --git a/panel/action.js b/panel/action.js index 5a2ce3eb..3d2168e5 100644 --- a/panel/action.js +++ b/panel/action.js @@ -24,6 +24,7 @@ Volcanos(chat.ONIMPORT, { can.onmotion.select(can, can._output, html.FIELDSET_PLUGIN, sub._target) can.onmotion.select(can, can._action, html.DIV_ITEM, sub._tabs) can.onmotion.select(can, can._header_tabs, html.DIV_TABS, sub._header_tabs) + can.user.mod.isPod && can.user.title(["后台", sub.ConfHelp(), can.user.info.titles].join(" ")) // can.onmotion.delay(can, function() { sub._header_tabs.scrollIntoViewIfNeeded() }) var layout = can.onexport.layout(can); layout == FREE || (can._output.scrollTop = sub._target.offsetTop-10) can.isCmdMode() || can.misc.SearchHash(can, can.Conf(chat.RIVER), can.Conf(chat.STORM), sub.ConfIndex(), layout) diff --git a/plugin/local/code/vimer.js b/plugin/local/code/vimer.js index c3ff4b7f..059af30f 100644 --- a/plugin/local/code/vimer.js +++ b/plugin/local/code/vimer.js @@ -32,7 +32,7 @@ Volcanos(chat.ONFIGURE, { }) function show(target, zone, path) { can.run(can.request({}, {dir_root: path, dir_deep: true}), [nfs.PWD], function(msg) { var cache, list = can.core.List(msg.Table(), function(value) { - if (path == nfs.SRC && can.base.isIn(value.path, "main.ico", "main.svg", "version.go", "binpack.go", "binpack_usr.go")) { return } + if (path == nfs.SRC && can.base.isIn(value.path, "main.ico", "main.png", "main.jpg", "main.svg", "version.go", "binpack.go", "binpack_usr.go")) { return } if (path == nfs.USR_RELEASE && can.base.isIn(value.path, "conf.go", "binpack.go")) { return } if (path == args[0] && args[1].indexOf(value.path) == 0) { value.expand = true } return value diff --git a/plugin/state.js b/plugin/state.js index a60d7a01..658eeb6a 100644 --- a/plugin/state.js +++ b/plugin/state.js @@ -366,7 +366,7 @@ Volcanos(chat.ONEXPORT, { if (arguments.length == 2 && !can.base.isIn(can.ConfIndex(), web.PORTAL, code.VIMER, wiki.FEEL)) { push(can.user.trans(can, can.ConfIndex().split(".").pop(), can.ConfHelp())) } } can.core.List(arguments, function(title, index) { index > 0 && push(title) }) - can.user.isMobile || push(can.user.info.titles||can.ConfSpace()||can.misc.Search(can, ice.POD)) + can.user.isMobile || push(can.user.mod.isPod? can.user.info.titles||can.ConfSpace()||can.misc.Search(can, ice.POD): location.host) can.user.title(list.join(" ")) }, args: function(can) { return can.Option() }, diff --git a/plugin/table.js b/plugin/table.js index 9096c5d6..9b01757f 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -485,9 +485,7 @@ Volcanos(chat.ONLAYOUT, { cmd: function(can, height, width) { can.onlayout._init(can, height, width) }, }) Volcanos(chat.ONEXPORT, { - title: function(can, title) { - can.sup.onexport.title.apply(can.sup.onexport, [can.sup].concat(can.core.List(arguments).slice(1))) - }, + title: function(can, title) { can.sup.onexport.title.apply(can.sup.onexport, [can.sup].concat(can.core.List(arguments).slice(1))) }, action_value: function(can, key, def) { var value = can.Action(key); return can.base.isIn(value, ice.AUTO, key, undefined)? def: value }, tabs: function(can) {}, tool: function(can) { can.misc.sessionStorage(can, [can.ConfIndex(), "tool"], JSON.stringify(can.page.Select(can, can._status, html.LEGEND, function(target) { return target._meta }))) },