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:
parent
bdc3a4978e
commit
effe92acf5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user