mirror of https://github.com/apache/cloudstack.git
Add region 'ID' field to add form
This commit is contained in:
parent
8831b2920c
commit
5a08ef64b3
|
|
@ -34,6 +34,7 @@
|
|||
title: 'label.add.region',
|
||||
desc: 'message.add.region',
|
||||
fields: {
|
||||
id: { label: 'label.id', validation: { required: true } },
|
||||
name: { label: 'label.name', validation: { required: true } },
|
||||
endpoint: { label: 'label.endpoint', validation: { url: true, required: true } },
|
||||
userapikey: { label: 'label.api.key' },
|
||||
|
|
@ -50,9 +51,7 @@
|
|||
args.response.success({ _custom: { jobId: jobID }});
|
||||
}
|
||||
});
|
||||
args.response.success();
|
||||
},
|
||||
notification: { poll: pollAsyncJobResult }
|
||||
}
|
||||
}
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue