|
|
@ -10,8 +10,11 @@
|
|
|
|
var helpers = {};
|
|
|
|
var helpers = {};
|
|
|
|
|
|
|
|
|
|
|
|
helpers.displayMenuItem = function(data, index) {
|
|
|
|
helpers.displayMenuItem = function(data, index) {
|
|
|
|
var item = data.navigation[index],
|
|
|
|
var item = data.navigation[index];
|
|
|
|
properties = item.properties;
|
|
|
|
if (!item) {
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var properties = item.properties;
|
|
|
|
|
|
|
|
|
|
|
|
if (properties) {
|
|
|
|
if (properties) {
|
|
|
|
if ((properties.loggedIn && !data.config.loggedIn) ||
|
|
|
|
if ((properties.loggedIn && !data.config.loggedIn) ||
|
|
|
|