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

B : Fix user inputs in flow instantiate form ()

This commit is contained in:
Sergio Betanzos 2020-11-10 14:17:15 +01:00 committed by GitHub
parent 821ecfaf4b
commit 8b9cf9d611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -317,6 +317,13 @@ define(function(require) {
var tmp_json = {};
$.extend( tmp_json, WizardFields.retrieve($("#"+div_id, context)) );
$.each(tmp_json, function(key, value){
if (Array.isArray(value)){
delete tmp_json[key];
tmp_json[key] = value.join(",");
}
});
temp_role.user_inputs_values = tmp_json;
var stringCustomValues = TemplateUtils.templateToString(extra_info.merge_template.custom_attrs_values);