Bug 21408: Enable checkbox on file selection

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Tomás Cohen Arazi 2018-09-25 10:54:04 -03:00 committed by Nick Clemens
parent c0bc29eaf3
commit 036d5dd8db

View file

@ -357,6 +357,7 @@
$("#compareinv2barcd").prop('disabled',false);
$("#compareinv2barcd").attr('checked',true); // default
$("#dont_checkin").prop('disabled',false);
$("#out_of_order").prop('disabled',false);
if( $("#compareinv2barcd").attr('checked') ) {
$("fieldset#optionalfilters").show();
$("#ignoreissued").attr('checked',true); // default
@ -370,6 +371,8 @@
$("#compareinv2barcd").attr('checked',false);
$("#dont_checkin").prop('disabled',true);
$("#dont_checkin").attr('checked',false);
$("#out_of_order").prop('disabled',true);
$("#out_of_order").attr('checked',false);
$("fieldset#optionalfilters").show();
}
});