mirror of https://github.com/apache/cloudstack.git
new UI - vm wizard - select service offering - set 1st radio button as default
This commit is contained in:
parent
95aee2414e
commit
624d37e543
|
|
@ -551,7 +551,7 @@
|
|||
<!-- VM wizard (end)-->
|
||||
<!-- VM Wizard - Service Offering template (begin) -->
|
||||
<div class="vmpopup_offeringbox" id="vm_popup_service_offering_template" style="display: none">
|
||||
<input type="radio" name="service_offering_radio" class="radio" />
|
||||
<input type="radio" name="service_offering_radio" class="radio" checked />
|
||||
<label class="label" id="name">
|
||||
</label>
|
||||
<div class="vmpopup_offdescriptionbox">
|
||||
|
|
|
|||
|
|
@ -486,6 +486,9 @@ function clickInstanceGroupHeader($arrowIcon) {
|
|||
$t.find("input:radio[name=service_offering_radio]").val(offerings[i].id);
|
||||
$t.find("#name").text(sanitizeXSS(unescape(offerings[i].name)));
|
||||
$t.find("#description").text(sanitizeXSS(unescape(offerings[i].displaytext)));
|
||||
|
||||
if (i > 0)
|
||||
$t.find("input:radio[name=service_offering_radio]").removeAttr("checked");
|
||||
|
||||
//if(i == 0)
|
||||
// $t.find("input:radio[name=service_offering_radio]").attr("checked", true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue