config/site

This commit is contained in:
j 2011-05-28 13:18:28 +02:00
commit 1e57ecc423
20 changed files with 62 additions and 59 deletions

View file

@ -2,12 +2,12 @@
pandora.ui.viewSelect = function() {
var that = new Ox.Select({
id: 'viewSelect',
items: !app.user.ui.item ? $.map(app.config.listViews, function(view) {
items: !app.user.ui.item ? $.map(app.site.listViews, function(view) {
return $.extend($.extend({}, view), {
checked: app.user.ui.lists[app.user.ui.list].listView == view.id,
title: 'View ' + view.title
});
}) : $.map(app.config.itemViews, function(view) {
}) : $.map(app.site.itemViews, function(view) {
return $.extend($.extend({}, view), {
checked: app.user.ui.itemView == view.id,
title: 'View: ' + view.title