summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-10-08 17:13:28 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-10-08 17:13:28 +0200
commit3c005bc0206d88a31a10ca342dcfbf2b2a247d54 (patch)
tree8f7fe6f7ea9dd203cba85fcb9c5024de9b3a2e3e
parentcba1aae0736c0b1022561a8834a008496711c67a (diff)
downloadnextcloud-server-3c005bc0206d88a31a10ca342dcfbf2b2a247d54.tar.gz
nextcloud-server-3c005bc0206d88a31a10ca342dcfbf2b2a247d54.zip
Check .conflicts for checkboxes
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index b5c87084e27..67860c0c7a4 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -605,7 +605,7 @@ var OCdialogs = {
$primaryButton.prop('disabled', true);
function updatePrimaryButton() {
- var checkedCount = $dlg.find('th .checkbox:checked').length;
+ var checkedCount = $dlg.find('.conflicts .checkbox:checked').length;
$primaryButton.prop('disabled', checkedCount === 0);
}