mirror of
https://shylinux.com/x/volcanos
synced 2025-07-03 04:51:19 +08:00
add some
This commit is contained in:
parent
77245fa035
commit
e549701490
@ -23,7 +23,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.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.onexport.hash(can, can.Conf(chat.RIVER), can.Conf(chat.STORM), sub.ConfIndex(), layout)
|
||||
|
@ -74,7 +74,8 @@ Volcanos(chat.ONACTION, {list: [mdb.CREATE, web.SHARE, web.REFRESH],
|
||||
})
|
||||
},
|
||||
action: function(event, can, river, storm) {
|
||||
can.user.title([can.user.info.titles, can.ui.river_list[river].title, can.ui.storm_list[river+"."+storm].title].join(" "))
|
||||
// can.user.title([can.user.info.titles, can.user.isMobile? "": can.ui.river_list[river].title, can.ui.storm_list[river+"."+storm].title].join(" "))
|
||||
can.user.title([can.user.info.titles, can.ui.storm_list[river+"."+storm].title].join(" "))
|
||||
can._scrollTop = can._output.scrollTop
|
||||
can.page.Select(can, can._output, [html.DIV_LIST, html.DIV_ITEM], function(target) { can.page.ClassList.del(can, target, html.SELECT) })
|
||||
can.onmotion.toggle(can, can.ui.sublist[river], true)
|
||||
|
@ -382,8 +382,10 @@ Volcanos(chat.ONEXPORT, {
|
||||
},
|
||||
title: function(can, title) { if (!can.isCmdMode()) { return }
|
||||
var list = []; function push(p) { p && list.indexOf(p) == -1 && list.push(p) }
|
||||
push(can.user.info.titles)
|
||||
// can.user.isMobile || push(can.user.info.titles)
|
||||
if (!can.user.isMobile) {
|
||||
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())) }
|
||||
if (arguments.length == 2 && !can.base.isIn(can.ConfIndex(), 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.mod.isPod? can.user.info.titles||can.ConfSpace()||can.misc.Search(can, ice.POD): location.host)
|
||||
|
Loading…
x
Reference in New Issue
Block a user