Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Sep 2, 2012
1 parent 8f639f6 commit d30dcc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ec2ui/content/ec2ui/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var ec2ui_controller = {
if (snapshotId != null) params.push(["SnapshotId", snapshotId]);
if (zone != null) params.push(["AvailabilityZone", zone]);
if (volumeType != null) params.push(["VolumeType", volumeType]);
if (iops != null) params.push(["Iops", iops]);
if (volumeType && volumeType != 'standard' && iops != null) params.push(["Iops", iops]);
ec2_httpclient.queryEC2("CreateVolume", params, this, true, "onCompleteCreateVolume", callback);
},

Expand Down
4 changes: 2 additions & 2 deletions ec2ui/content/ec2ui/dialog_new_volume.xul
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
</row>
<row>
<label control="ec2ui.newvolume.volumetypelist" value="&ec2ui.volumes.volumeType.label;" />
<menulist id="ec2ui.newvolume.volumetypelist" />
<menulist id="ec2ui.newvolume.volumetypelist" oncommand="document.getElementById('ec2ui.newvolume.iops').disabled = (this.value == 'standard');" />
</row>
<row>
<label control="ec2ui.newvolume.iops" value="&ec2ui.volumes.iops.label;" />
<textbox id="ec2ui.newvolume.iops" size="40" />
<textbox id="ec2ui.newvolume.iops" size="40" value="100" disabled="true" />
</row>
<row>
<label control="ec2ui.newvolume.tag" value="Tag" />
Expand Down

0 comments on commit d30dcc5

Please sign in to comment.