mirror of https://github.com/apache/cloudstack.git
Pod page - cluster dropdown field - no need to specify 1st entry selected. 1st entry is always selected if no entry is set to be selected.
This commit is contained in:
parent
46a7741763
commit
ef66993779
|
|
@ -598,9 +598,7 @@ function bindAddPrimaryStorageButton($leftmenuItem1) {
|
|||
clusterSelect.append("<option value='" + items[i].id + "' selected>" + fromdb(items[i].name) + "</option>");
|
||||
else
|
||||
clusterSelect.append("<option value='" + items[i].id + "'>" + fromdb(items[i].name) + "</option>");
|
||||
}
|
||||
if(!clusterSelect.val())
|
||||
$("option", clusterSelect)[0].attr("selected", "selected");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue