From bea1d50ef9c768dcf4e778bb401253f3afe57e63 Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Fri, 22 Sep 2017 16:41:39 +0200 Subject: [PATCH] B #5377: Service with two roles from same VM Template (user inputs) (#483) --- src/sunstone/public/app/utils/user-inputs.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/sunstone/public/app/utils/user-inputs.js b/src/sunstone/public/app/utils/user-inputs.js index ed1fcec879..65ea06ed32 100644 --- a/src/sunstone/public/app/utils/user-inputs.js +++ b/src/sunstone/public/app/utils/user-inputs.js @@ -685,15 +685,16 @@ define(function(require) { input = '
'; break; case "boolean": + var id = UniqueId.id(); if(value == "YES"){ - input = '
' + Locale.tr("YES ") + ''; - input += Locale.tr("NO ") + ''; + input = '
' + Locale.tr("YES ") + ''; + input += Locale.tr("NO ") + ''; } else if(value == "NO"){ - input = '
' + Locale.tr("YES ") + ''; - input += Locale.tr("NO ") + '' + input = '
' + Locale.tr("YES ") + ''; + input += Locale.tr("NO ") + '' } else { - input = '
' + Locale.tr("YES ") + ''; - input += Locale.tr("NO ") + ''; + input = '
' + Locale.tr("YES ") + ''; + input += Locale.tr("NO ") + ''; } break; case "number":