mirror of https://github.com/apache/cloudstack.git
bug 13373: create network offering dialog - if this provider dropdown is one of provider dropdowns forcibly changed together earlier, make other forcibly changed provider dropdowns restore default option (i.e. 1st option in dropdown) - make it work in IE as well.
This commit is contained in:
parent
3a87cf8331
commit
9064bdb50a
|
|
@ -1184,8 +1184,8 @@
|
|||
for(var key in providerDropdownsForciblyChangedTogether) {
|
||||
if(key == $thisProviderDropdown.context.name)
|
||||
continue; //skip to next item in for loop
|
||||
else
|
||||
$("select[name='" + key + "']").val(""); //no "" option in dropdown, so will force it to select 1st option in dropdown
|
||||
else
|
||||
$("select[name='" + key + "'] option:first").attr("selected", "selected");
|
||||
}
|
||||
providerDropdownsForciblyChangedTogether = {}; //reset
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue