From d2af903e814a88ca4af93b1097b0b0cd162a608e Mon Sep 17 00:00:00 2001 From: Jorge Lobo <47326048+jloboescalona2@users.noreply.github.com> Date: Fri, 25 Oct 2019 14:15:10 +0200 Subject: [PATCH] B #3832: fill input Host Rank (#3879) Signed-off-by: Jorge Lobo --- .../app/tabs/templates-tab/form-panels/create-common.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js index 4a3f568b49..6406b557df 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js @@ -354,7 +354,9 @@ define(function(require) { this.setHeader(element); this.resourceId = element.ID; - + if(element && element.TEMPLATE && element.TEMPLATE.SCHED_RANK){ + $("#SCHED_RANK").val(element.TEMPLATE.SCHED_RANK); + } var templateJSON = element.TEMPLATE; // Fills the name