1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

B #2522: Impossible to create vmgroup using advanced mode (#2523)

This commit is contained in:
Abel Coronado 2018-10-19 11:02:51 +02:00 committed by Tino Vázquez
parent dfe79d0583
commit b797a7e512

View File

@ -208,8 +208,8 @@ define(function(require) {
function _submitAdvanced(context) {
if (this.action == "create") {
var template = $("textarea#template", context).val();
var vm_group_json = {vm_group: {vm_group_raw: template}};
Sunstone.runAction("VMGroup.create",vm_group_json);
var vm_group_json = { vm_group: { vm_grp_raw: template } };
Sunstone.runAction("VMGroup.create", vm_group_json);
return false;
} else if (this.action == "update") {
var template_raw = $("textarea#template", context).val();