mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 8210: IP Address page - Port Range tab - the embedded object returned by createIpForwardingRule API should be named as "ipforwardingrule" instead of "portforwardingrule".
This commit is contained in:
parent
529e48d5eb
commit
f1fc1a269e
@ -288,7 +288,7 @@
|
||||
</div>
|
||||
<div class="grid_rows even" id="create_port_forwarding_row">
|
||||
<div class="grid_row_cell" style="width: 15%;">
|
||||
<input id="end_port" class="text" style="width: 70%;" type="text" />
|
||||
<input id="public_port" class="text" style="width: 70%;" type="text" />
|
||||
<div id="public_port_errormsg" class="errormsg" style="display: none;">Error msg will appear here</div>
|
||||
</div>
|
||||
<div class="grid_row_cell" style="width: 15%;">
|
||||
|
||||
@ -141,9 +141,9 @@ function afterLoadIpJSP() {
|
||||
var protocol = $createPortRangeRow.find("#protocol").val();
|
||||
|
||||
var array1 = [];
|
||||
array1.push("&ipaddress="+ipAddress);
|
||||
array1.push("&endPort="+endPort);
|
||||
array1.push("&ipaddress="+ipAddress);
|
||||
array1.push("&startPort="+startPort);
|
||||
array1.push("&endPort="+endPort);
|
||||
array1.push("&protocol="+protocol);
|
||||
|
||||
$.ajax({
|
||||
@ -167,7 +167,7 @@ function afterLoadIpJSP() {
|
||||
$("body").stopTime(timerKey);
|
||||
$spinningWheel.hide();
|
||||
if (result.jobstatus == 1) { // Succeeded
|
||||
var item = json.queryasyncjobresultresponse.jobresult.portforwardingrule;
|
||||
var item = json.queryasyncjobresultresponse.jobresult.ipforwardingrule;
|
||||
portRangeJsonToTemplate(item, $template);
|
||||
$spinningWheel.hide();
|
||||
refreshCreatePortRangeRow();
|
||||
@ -238,9 +238,9 @@ function afterLoadIpJSP() {
|
||||
var virtualMachineId = $createPortForwardingRow.find("#vm").val();
|
||||
|
||||
var array1 = [];
|
||||
array1.push("&ipaddress="+ipAddress);
|
||||
array1.push("&privateport="+privatePort);
|
||||
array1.push("&ipaddress="+ipAddress);
|
||||
array1.push("&publicport="+publicPort);
|
||||
array1.push("&privateport="+privatePort);
|
||||
array1.push("&protocol="+protocol);
|
||||
array1.push("&virtualmachineid=" + virtualMachineId);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user