diff options
Diffstat (limited to 'module/web/static/js/views/selectionView.js')
-rw-r--r-- | module/web/static/js/views/selectionView.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/web/static/js/views/selectionView.js b/module/web/static/js/views/selectionView.js index 4f235b2f5..546cda847 100644 --- a/module/web/static/js/views/selectionView.js +++ b/module/web/static/js/views/selectionView.js @@ -65,10 +65,14 @@ define(['jquery', 'backbone', 'underscore', 'app'], else if (files + packs === 0 && this.current > 0) this.$el.slideIn(); - if (files > 0) + if (files > 0) { this.actionBar.addClass('iconf-check').removeClass('iconf-check-empty'); - else + App.dashboard.packageUL.addClass('ui-files-selected'); + } + else { this.actionBar.addClass('iconf-check-empty').removeClass('iconf-check'); + App.dashboard.packageUL.removeClass('ui-files-selected'); + } this.current = files + packs; }, |