diff options
author | VicDeo <dubiniuk@owncloud.com> | 2015-10-02 00:20:40 +0300 |
---|---|---|
committer | VicDeo <dubiniuk@owncloud.com> | 2015-10-02 00:20:40 +0300 |
commit | f891b91cf8475eee16ab1ca08869430bd2dbe51b (patch) | |
tree | 1d9d254412be867eb77321a14e0130d1c9c4fafe | |
parent | b6591084a133e5a7c5853074c375e5e904de7396 (diff) | |
parent | d4ce71374985462e1110431e6aa0683c8f25ddfa (diff) | |
download | nextcloud-server-f891b91cf8475eee16ab1ca08869430bd2dbe51b.tar.gz nextcloud-server-f891b91cf8475eee16ab1ca08869430bd2dbe51b.zip |
Merge pull request #19518 from owncloud/checkboxes-file-restore
Display checkboxes properly after file restore
-rw-r--r-- | apps/files_trashbin/js/filelist.js | 4 | ||||
-rw-r--r-- | core/css/styles.css | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js index febe3a45be3..6b624e333a0 100644 --- a/apps/files_trashbin/js/filelist.js +++ b/apps/files_trashbin/js/filelist.js @@ -268,12 +268,12 @@ enableActions: function() { this.$el.find('.action').css('display', 'inline'); - this.$el.find(':input:checkbox').css('display', 'inline'); + this.$el.find('input:checkbox').removeClass('u-hidden'); }, disableActions: function() { this.$el.find('.action').css('display', 'none'); - this.$el.find(':input:checkbox').css('display', 'none'); + this.$el.find('input:checkbox').addClass('u-hidden'); }, updateStorageStatistics: function() { diff --git a/core/css/styles.css b/core/css/styles.css index d952a33c24a..c0da29b71ca 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -183,6 +183,7 @@ html:not(.ie8) input[type="checkbox"].checkbox + label:before { html:not(.ie8) input[type="checkbox"].checkbox:disabled +label:before { opacity: .6; } html:not(.ie8) input[type="checkbox"].checkbox.u-left +label:before { float: left; } +html:not(.ie8) input[type="checkbox"].checkbox.u-hidden + label:before { display: none; } html:not(.ie8) input[type="checkbox"].checkbox--white + label:before { background-image: url('../img/actions/checkbox-white.svg'); |