mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
Bug #4071: Do not send an empty service name
(cherry picked from commit effe92acf5465d406779c2da640d80bc32a2b7ef)
This commit is contained in:
parent
36de6b8078
commit
343bf48909
@ -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…
x
Reference in New Issue
Block a user