diff --git a/js/apps/system/aardvark/frontend/js/views/collectionsItemView.js b/js/apps/system/aardvark/frontend/js/views/collectionsItemView.js index c93ce0f0d3..15657dd901 100644 --- a/js/apps/system/aardvark/frontend/js/views/collectionsItemView.js +++ b/js/apps/system/aardvark/frontend/js/views/collectionsItemView.js @@ -44,13 +44,19 @@ ); */ }, - - selectCollection: function() { + + selectCollection: function(event) { + + //check if event was fired from disabled button + if ($(event.target).hasClass("disabled")) { + return 0; + } + window.App.navigate( "collection/" + encodeURIComponent(this.model.get("name")) + "/documents/1", {trigger: true} ); }, - + noop: function(event) { event.stopPropagation(); },