2021.1

Table Of Contents
var type = $entity.attr
("id") + "-" + entity;
if ($(rule).find
("div.option").hasClass(type)) {
if (reconfigure
[category] === undefined)
reconfigure
[category] = [];
reconfigure
[category].push(index);
}
});
});
});
if (Object.keys(incompatible).length > 0 &&
!confirm(MSG_INCOMPAT_RULES)) {
$entity.val($entity.data("previous"));
return;
}
categories.forEach(function (category) {
var $rules = $("fieldset#" + category)
.children("div#RULESET")
.find("div.rule");
/* Remove any incompatible rules */
if (incompatible[category] !== undefined)
for (var i = 0; i < incompatible
[category].length; i += 1)
$($rules[incompatible[category]
[i]]).remove();
/* Reconfigure any incompatible options */
if (reconfigure[category] !== undefined)
for (var j = 0; j < reconfigure
[category].length; j += 1)
$($rules[reconfigure[category][j]])
.find("div.option")
.children("select.options-
selector")
.trigger("change");
/* Restrict Rule Type Selectors to Entity
Specific Options */
Page 204