From 964cfc8e08467c93e18d78ab20f311d05b22eeb9 Mon Sep 17 00:00:00 2001 From: Hendrik Leppelsack Date: Sat, 19 Sep 2015 15:44:49 +0200 Subject: fix missing checkboxes in file comparator --- core/js/oc-dialogs.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/js') diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 52ed34f61ec..719ac8587a4 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -400,6 +400,11 @@ var OCdialogs = { $replacementDiv.find('.icon').css('background-image','url(' + path + ')'); } ); + // connect checkboxes with labels + var checkboxId = $conflicts.find('.conflict').length; + $originalDiv.find('input:checkbox').attr('id', 'checkbox_original_'+checkboxId); + $replacementDiv.find('input:checkbox').attr('id', 'checkbox_replacement_'+checkboxId); + $conflicts.append($conflict); //set more recent mtime bold -- cgit v1.2.3