From e4e313dd3ab93d7646aaea931ac9ff087cc585d6 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Thu, 24 Jul 2014 13:22:03 +0200 Subject: [PATCH] Bug #3073: User inputs containing whitespaces/special chars should not be allowed in the service template creation form --- .../public/js/plugins/oneflow-templates.js | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/src/sunstone/public/js/plugins/oneflow-templates.js b/src/sunstone/public/js/plugins/oneflow-templates.js index f9759296d4..4038d157a4 100644 --- a/src/sunstone/public/js/plugins/oneflow-templates.js +++ b/src/sunstone/public/js/plugins/oneflow-templates.js @@ -24,13 +24,13 @@ var create_service_template_tmpl = '\ \ \
\ -
\ + \
\
\ '+ - '\ + '\
\
'+ '
\ @@ -170,7 +170,7 @@ var role_tab_content = '\ \ - \ + \
\
\
\ @@ -1244,7 +1244,8 @@ function setupCreateServiceTemplateDialog(){ $(".service_networks tbody").append( '\ \ - \ + \ + '+ tr("Only word characters are allowed") + '\ \ \