remove admin only flags for sections and locale

This commit is contained in:
j 2014-03-05 13:39:25 +00:00
commit 550ced514d
6 changed files with 6 additions and 8 deletions

View file

@ -56,8 +56,7 @@ pandora.ui.mainMenu = function() {
return {
id: section,
title: section == 'items' ? Ox._(pandora.site.itemName.plural) : Ox._(Ox.toTitleCase(section)),
checked: ui.section == section,
disabled: section != 'items' && pandora.user.level != 'admin'
checked: ui.section == section
};
}) }
] },