fix filter
This commit is contained in:
parent
7fb47c28db
commit
66c33df1f1
|
|
@ -1739,14 +1739,14 @@ function apply() {
|
|||
var region = regionArray[j];
|
||||
var groupName = component + "Group";
|
||||
var group = eval(groupName);
|
||||
var checkboxStr = `group.find('*').filter(\":contains(' ${region}:')\").filter("div.clearfix.prettycheckbox.labelright.blue").children()`;
|
||||
var checkboxStr = `group.find('*').filter(\":contains(' ${region}:')\").filter("div.checkbox.styled-checkbox").children().children().children().children()`;
|
||||
var checkbox = eval(checkboxStr);
|
||||
if (debugFlag == true) {
|
||||
console.log("region: " + region);
|
||||
console.log("groupName: " + groupName);
|
||||
console.log("checkboxStr: " + checkboxStr);
|
||||
}
|
||||
if (checkRegion(region) == true && checkComponent(component) == true) {
|
||||
if (checkRegion(region) > 0 && checkComponent(component) > 0) {
|
||||
if (debugFlag == true) {
|
||||
console.log("selecting checkbox")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue