Skip to content

Commit

Permalink
Only show items in selector if item is visible and state is ok
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 6, 2017
1 parent 6e7d290 commit 828422f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -1407,7 +1407,7 @@ var FolderToolbarView = Backbone.View.extend({
'<%= _.escape(history_item.get("hid")) %>: <%= _.escape(history_item.get("name")) %> (Dataset Collection of type <%= _.escape(collection_type) %> not supported.)',
'</a></li>',
'<% } %>',
'<% } else { %>',
'<% } else if (history_item.get("visible") === true && history_item.get("state") === "ok") { %>',
'<li data-id="<%= _.escape(history_item.get("id")) %>" data-name="<%= _.escape(history_item.get("type")) %>">',
'<input style="margin: 0;" type="checkbox"> <%= _.escape(history_item.get("hid")) %>: <%= _.escape(history_item.get("name")) %>',
'</li>',
Expand Down

0 comments on commit 828422f

Please sign in to comment.