Only unselect any option in mulselect when select any and others at the same time - #1266
This commit is contained in:
parent
ec95400043
commit
8525426763
|
@ -799,7 +799,6 @@ $(document).ready (function () {
|
|||
var others = true;
|
||||
}
|
||||
if(any && others){
|
||||
document.forms["form_modules"].agents[i].selected = false;
|
||||
document.forms["form_modules"].agents[0].selected = false;
|
||||
}
|
||||
}
|
||||
|
@ -815,7 +814,6 @@ $(document).ready (function () {
|
|||
var others = true;
|
||||
}
|
||||
if(any && others){
|
||||
document.forms["form_modules"].module[i].selected = false;
|
||||
document.forms["form_modules"].module[0].selected = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1098,7 +1098,6 @@ $(document).ready (function () {
|
|||
var others = true;
|
||||
}
|
||||
if(any && others){
|
||||
document.forms["form_edit"].agents[i].selected = false;
|
||||
document.forms["form_edit"].agents[0].selected = false;
|
||||
}
|
||||
}
|
||||
|
@ -1114,7 +1113,6 @@ $(document).ready (function () {
|
|||
var others = true;
|
||||
}
|
||||
if(any && others){
|
||||
document.forms["form_edit"].module[i].selected = false;
|
||||
document.forms["form_edit"].module[0].selected = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue