diff --git a/src/sunstone/public/app/tabs/provision-tab.js b/src/sunstone/public/app/tabs/provision-tab.js index afe64d309f..2eb542e7d1 100644 --- a/src/sunstone/public/app/tabs/provision-tab.js +++ b/src/sunstone/public/app/tabs/provision-tab.js @@ -1638,12 +1638,15 @@ define(function(require) { var extra_info = { 'merge_template': { - "name" : flow_name, "roles" : roles, "custom_attrs_values": custom_attrs } } + if (flow_name){ + extra_info["merge_template"]["name"] = flow_name; + } + if (missing_attr) { $(".alert-box-error", $(this)).fadeIn().html(Locale.tr("You have not specified all the Custom Atrributes for this Service")); return false;