From 47c19b115b64093319464e9911c6cf9ae3747481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 30 Jul 2013 15:49:19 +0200 Subject: [PATCH] Bug #2249: Fix period and period_number in the service view (cherry picked from commit 970c34464a1d5a71f3a9dfdd3d77d62883400857) --- src/sunstone/public/js/plugins/oneflow-services.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sunstone/public/js/plugins/oneflow-services.js b/src/sunstone/public/js/plugins/oneflow-services.js index d4064a456a..7ffd9566c4 100644 --- a/src/sunstone/public/js/plugins/oneflow-services.js +++ b/src/sunstone/public/js/plugins/oneflow-services.js @@ -1557,8 +1557,8 @@ function updateServiceInfo(request,elem){ '+this.adjust+'\ '+(this.min_adjust_step || "-")+'\ '+(this.expression_evaluated || this.expression)+'\ - '+(this.true_evals || 0 )+'/'+ this.period+'\ - '+(this.period_number || "-")+'\ + '+( this.period_number ? ((this.true_evals || 0 )+'/'+(this.period_number)) : '-' )+'\ + '+(this.period || "-")+'\ '+(this.cooldown || "-")+'\ ' });