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:
parent
c0bc29eaf3
commit
036d5dd8db
1 changed files with 3 additions and 0 deletions
|
@ -357,6 +357,7 @@
|
||||||
$("#compareinv2barcd").prop('disabled',false);
|
$("#compareinv2barcd").prop('disabled',false);
|
||||||
$("#compareinv2barcd").attr('checked',true); // default
|
$("#compareinv2barcd").attr('checked',true); // default
|
||||||
$("#dont_checkin").prop('disabled',false);
|
$("#dont_checkin").prop('disabled',false);
|
||||||
|
$("#out_of_order").prop('disabled',false);
|
||||||
if( $("#compareinv2barcd").attr('checked') ) {
|
if( $("#compareinv2barcd").attr('checked') ) {
|
||||||
$("fieldset#optionalfilters").show();
|
$("fieldset#optionalfilters").show();
|
||||||
$("#ignoreissued").attr('checked',true); // default
|
$("#ignoreissued").attr('checked',true); // default
|
||||||
|
@ -370,6 +371,8 @@
|
||||||
$("#compareinv2barcd").attr('checked',false);
|
$("#compareinv2barcd").attr('checked',false);
|
||||||
$("#dont_checkin").prop('disabled',true);
|
$("#dont_checkin").prop('disabled',true);
|
||||||
$("#dont_checkin").attr('checked',false);
|
$("#dont_checkin").attr('checked',false);
|
||||||
|
$("#out_of_order").prop('disabled',true);
|
||||||
|
$("#out_of_order").attr('checked',false);
|
||||||
$("fieldset#optionalfilters").show();
|
$("fieldset#optionalfilters").show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue