Permalink
Browse files

fix register/deregister instance dialog

  • Loading branch information...
1 parent 7e6d457 commit 26e27dcd915404510a9356d81ef20053e28ca3bb @winebarrel winebarrel committed Nov 18, 2012
@@ -88,18 +88,18 @@ var ec2ui_DeregisterInstances = {
cell1.setAttribute('type', 'checkbox');
cell1.setAttribute('id',cellID);
row.appendChild(cell1);
+
+ cell2.setAttribute('label', Instancedetails[i].name);
+ row.appendChild(cell2);
- cell2.setAttribute('label', Instancedetails[i].id);
- cell2.setAttribute('id',cellInstanceId);
- row.appendChild(cell2);
-
- cell3.setAttribute('label', Instancedetails[i].state);
+ cell3.setAttribute('label', Instancedetails[i].id);
+ cell3.setAttribute('id',cellInstanceId);
row.appendChild(cell3);
- cell4.setAttribute('label', Instancedetails[i].placement.availabilityZone);
+ cell4.setAttribute('label', Instancedetails[i].state);
row.appendChild(cell4);
- cell5.setAttribute('label', Instancedetails[i].name);
+ cell5.setAttribute('label', Instancedetails[i].placement.availabilityZone);
row.appendChild(cell5);
var rowID = "row"+Idx;
@@ -14,10 +14,10 @@
<listbox id="Deregister_Instances" rows="10" width="500" seltype="multiple" onclick="ec2ui_DeregisterInstances.enable_disableInstances();">
<listhead>
<listheader label="&ec2ui.registerlb.register.label;" width="50"/>
+ <listheader label="Name" width="150"/>
<listheader label="&ec2ui.registerlb.instanceid.label;" width="100"/>
<listheader label="&ec2ui.registerlb.state.label;" width="100"/>
<listheader label="&ec2ui.registerlb.zone.label;" width="100"/>
- <listheader label="Name" width="150"/>
</listhead>
<listcols>
<listcol/>
@@ -14,10 +14,10 @@
<listbox id="Register_Instances" rows="10" width="500" seltype="multiple" onclick="ec2ui_RegisterInstances.enable_disableInstances();">
<listhead>
<listheader label="&ec2ui.registerlb.register.label;" width="50"/>
+ <listheader label="Name" width="150"/>
<listheader label="&ec2ui.registerlb.instanceid.label;" width="100"/>
<listheader label="&ec2ui.registerlb.state.label;" width="100"/>
<listheader label="&ec2ui.registerlb.zone.label;" width="100"/>
- <listheader label="Name" width="150"/>
</listhead>
<listcols>
<listcol/>
@@ -87,17 +87,17 @@ var ec2ui_RegisterInstances = {
cell1.setAttribute('id',cellID);
row.appendChild(cell1);
- cell2.setAttribute('label', Instancedetails[i].id);
- cell2.setAttribute('id',cellInstanceId);
- row.appendChild(cell2);
-
- cell3.setAttribute('label', Instancedetails[i].state);
+ cell2.setAttribute('label', Instancedetails[i].name);
+ row.appendChild(cell2);
+
+ cell3.setAttribute('label', Instancedetails[i].id);
+ cell3.setAttribute('id',cellInstanceId);
row.appendChild(cell3);
- cell4.setAttribute('label', Instancedetails[i].placement.availabilityZone);
+ cell4.setAttribute('label', Instancedetails[i].state);
row.appendChild(cell4);
- cell5.setAttribute('label', Instancedetails[i].name);
+ cell5.setAttribute('label', Instancedetails[i].placement.availabilityZone);
row.appendChild(cell5);
for(var a=0;a<registerid.length;a++)

0 comments on commit 26e27dc

Please sign in to comment.