1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

Bug #4071: Do not send an empty service name

This commit is contained in:
Carlos Martín 2015-11-02 13:12:10 +01:00
parent bdc3a4978e
commit effe92acf5

View File

@ -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;