forked from 0x2620/pandora
reuse lookup
This commit is contained in:
parent
e06b263237
commit
f8c1c3e328
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ pandora.ui.documentFilter = function(id) {
|
||||||
var i = Ox.getIndexById(pandora.user.ui.documentFilters, id),
|
var i = Ox.getIndexById(pandora.user.ui.documentFilters, id),
|
||||||
filter = Ox.getObjectById(pandora.site.documentFilters, id),
|
filter = Ox.getObjectById(pandora.site.documentFilters, id),
|
||||||
panelWidth = Ox.$document.width() - (pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize) - 1,
|
panelWidth = Ox.$document.width() - (pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize) - 1,
|
||||||
title = Ox._(Ox.getObjectById(pandora.site.documentFilters, id).title),
|
title = Ox._(filter.title),
|
||||||
//width = pandora.getFilterWidth(i, panelWidth),
|
//width = pandora.getFilterWidth(i, panelWidth),
|
||||||
that = Ox.TableList({
|
that = Ox.TableList({
|
||||||
_selected: !pandora.user.ui.showFilters
|
_selected: !pandora.user.ui.showFilters
|
||||||
|
|
Loading…
Reference in a new issue