mirror of https://github.com/apache/cloudstack.git
instance page - edit Instance - not pass displayname to API when displayname is equal to name.
This commit is contained in:
parent
65d9b60d42
commit
f2503d2c69
|
|
@ -997,8 +997,10 @@
|
|||
edit: {
|
||||
label: 'Edit',
|
||||
action: function(args) {
|
||||
var array1 = [];
|
||||
array1.push("&displayName=" + args.data.displayname);
|
||||
var array1 = [];
|
||||
if(args.data.displayname != args.context.instances[0].name)
|
||||
array1.push("&displayName=" + args.data.displayname);
|
||||
|
||||
array1.push("&group=" + args.data.group);
|
||||
array1.push("&ostypeid=" + args.data.guestosid);
|
||||
//array1.push("&haenable=" + haenable);
|
||||
|
|
|
|||
Loading…
Reference in New Issue