mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit 8b9cf9d611ea9fbcb1f0dfd6613001e286476dd5)
This commit is contained in:
parent
5bc0eb5d47
commit
1d5bf0e056
@ -263,6 +263,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user