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:
Jessica Wang 2012-02-03 15:08:07 -08:00
parent 3a87cf8331
commit 9064bdb50a
1 changed files with 2 additions and 2 deletions

View File

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