Add ssh port value to edit form

Add ssh port value to edit form
This commit is contained in:
cp6 2021-01-22 11:28:29 +11:00
parent 7aa201b9ee
commit 05f4a41e67

View File

@ -299,6 +299,7 @@ function modalServerEdit(id) {
$("#me_ram_type").val(result["ram_type"]); $("#me_ram_type").val(result["ram_type"]);
$("#me_swap_type").val(result["swap_type"]); $("#me_swap_type").val(result["swap_type"]);
$("#me_virt").val(result["virt"]); $("#me_virt").val(result["virt"]);
$("#me_ssh_port").val(result["ssh_port"]);
} }
}); });
} }
@ -350,7 +351,7 @@ function modalEditDomain(id) {
function yabsModalView(hostname, id) { function yabsModalView(hostname, id) {
if ($('#yabsTextBox').length) if ($('#yabsTextBox').length)
{ {
$('#yabsTextBox').remove(); $('#yabsTextBox').remove();
} }
$.ajax({ $.ajax({
type: "GET", type: "GET",