Skip to content

Commit

Permalink
Fixed #88 bug with maxItems and duplicate button
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Oct 25, 2017
1 parent cf923ee commit a4478a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Resources/public/js/be_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ var updateListButtons = function(listElement) {
'display',
minReached ? 'none' : ''
);
toolbar.getFirst('.rsce_list_toolbar_duplicate').setStyle(
'display',
maxReached ? 'none' : ''
);
toolbar.getFirst('.rsce_list_toolbar_new').setStyle(
'display',
maxReached ? 'none' : ''
Expand Down

0 comments on commit a4478a8

Please sign in to comment.