From 14008bfe9d517a6c6b0f8c300f77dd68d604ca09 Mon Sep 17 00:00:00 2001 From: Elena.Budnik Date: Tue, 23 Apr 2019 19:24:57 +0200 Subject: [PATCH] alias - no spaces --- js/app/views/AliasUI.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/app/views/AliasUI.js b/js/app/views/AliasUI.js index 1ce70b3..ebcab41 100644 --- a/js/app/views/AliasUI.js +++ b/js/app/views/AliasUI.js @@ -171,7 +171,8 @@ Ext.define('amdaUI.AliasUI',{ this.aliasField = new Ext.form.field.Text({ fieldLabel: 'Your Alias', padding : '10px 0 0 10px', width : '90%', - labelWidth: 70, allowBlank: false + labelWidth: 70, allowBlank: false, stripCharsRe: /(^\s+|\s+$)/g, + emptyText: 'Please no spaces!' }); this.setAlias(this.paramNode); -- libgit2 0.21.2