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

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

(cherry picked from commit b797a7e51240c0fac1fa6a600fb042e31f1260a7)
This commit is contained in:
Abel Coronado 2018-10-19 11:02:51 +02:00 committed by Tino Vazquez
parent 747fc0613a
commit 37eb3baf3e

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();