diff --git a/front-ui/app/stores/itemStore.js b/front-ui/app/stores/itemStore.js index 512ab62..8bcf41d 100644 --- a/front-ui/app/stores/itemStore.js +++ b/front-ui/app/stores/itemStore.js @@ -71,12 +71,9 @@ AppDispatcher.register(function(payload) { switch(action.actionType) { // Respond to SELECT_ITEM action - /* case ItemConstants.SELECT_ITEM:*/ - //setSelected(action.item.id); - //// TODO: this does not belong here - update when react router becommes available - //RIBICA.App.router.navigate(action.item.getFrontEndUrl(), {'trigger': true}); - - /*break;*/ + case ItemConstants.SELECT_ITEM: + setSelected(action.item.id); + break; case ItemConstants.LOAD_FOR_FRONTPAGE: loadItemsForFrontpage();