mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 14:38:47 +02:00
N°1624 Fix bulk transition integrity exception when "org_id" was not checked.
This commit is contained in:
@@ -409,8 +409,12 @@ function ToggleDurationField(field_id) {
|
||||
function PropagateCheckBox(bCurrValue, aFieldsList, bCheck) {
|
||||
if (bCurrValue == bCheck) {
|
||||
for (var i = 0; i < aFieldsList.length; i++) {
|
||||
$('#enable_'+aFieldsList[i]).attr('checked', bCheck);
|
||||
ToogleField(bCheck, aFieldsList[i]);
|
||||
var sFieldId = aFieldsList[i];
|
||||
$('#enable_'+sFieldId).attr('checked', bCheck);
|
||||
ToogleField(bCheck, sFieldId);
|
||||
|
||||
// Cascade propagation
|
||||
$('#enable_'+sFieldId).trigger('change');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user