diff --git a/src/sunstone/public/js/plugins/oneflow-templates.js b/src/sunstone/public/js/plugins/oneflow-templates.js index 37c4b2c228..7f76da4467 100644 --- a/src/sunstone/public/js/plugins/oneflow-templates.js +++ b/src/sunstone/public/js/plugins/oneflow-templates.js @@ -892,8 +892,8 @@ function updateServiceTemplateInfo(request,elem){ '+this.adjust+'\ '+(this.min_adjust_step || "-")+'\ '+this.expression+'\ - '+(this.period || "-")+'\ '+(this.period_number || "-")+'\ + '+(this.period || "-")+'\ '+(this.cooldown || "-")+'\ ' }); @@ -1027,10 +1027,10 @@ function setup_role_tab_content(role_section, html_role_id) { \ \ \ - \ + \ \ \ - \ + \ \ \ \ @@ -1313,8 +1313,8 @@ function generate_json_service_template_from_form() { policy['adjust'] = $("#adjust" ,this).val(); policy['min_adjust_step'] = $("#min_adjust_step" ,this).val(); policy['expression'] = $("#expression" ,this).val(); - policy['period'] = $("#period" ,this).val(); policy['period_number'] = $("#period_number" ,this).val(); + policy['period'] = $("#period" ,this).val(); policy['cooldown'] = $("#cooldown" ,this).val(); // TODO remove empty policies @@ -1435,8 +1435,8 @@ function fillUpUpdateServiceTemplateDialog(request, response){ $("#adjust" ,td).val(this['adjust'] ) $("#min_adjust_step" ,td).val(this['min_adjust_step'] || "" ) $("#expression" ,td).val(unscape(this.expression)) - $("#period" ,td).val(this['period'] || "" ) $("#period_number" ,td).val(this['period_number'] || "") + $("#period" ,td).val(this['period'] || "" ) $("#cooldown" ,td).val(this['cooldown'] || "" ) }) }