mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CS-14295: cloudstack 3.0 UI - volume page - upload volume dialog - add checksum field.
This commit is contained in:
parent
d0a09732d2
commit
44329ece75
@ -213,7 +213,10 @@
|
||||
url: {
|
||||
label: 'label.url',
|
||||
validation: { required: true }
|
||||
}
|
||||
},
|
||||
checksum : {
|
||||
label: 'label.checksum'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -223,6 +226,8 @@
|
||||
array1.push("&zoneId=" + args.data.availabilityZone);
|
||||
array1.push("&format=" + args.data.format);
|
||||
array1.push("&url=" + todb(args.data.url));
|
||||
if(args.data.checksum != null && args.data.checksum.length > 0)
|
||||
array1.push("&checksum=" + todb(args.data.checksum));
|
||||
|
||||
$.ajax({
|
||||
url: createURL("uploadVolume" + array1.join("")),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user