Only unselect any option in mulselect when select any and others at the same time - #1266

This commit is contained in:
enriquecd 2017-10-10 12:36:47 +02:00
parent ec95400043
commit 8525426763
2 changed files with 0 additions and 4 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}