Commit 14008bfe9d517a6c6b0f8c300f77dd68d604ca09
1 parent
1c1db276
Exists in
alias
alias - no spaces
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
js/app/views/AliasUI.js
... | ... | @@ -171,7 +171,8 @@ Ext.define('amdaUI.AliasUI',{ |
171 | 171 | |
172 | 172 | this.aliasField = new Ext.form.field.Text({ |
173 | 173 | fieldLabel: 'Your Alias', padding : '10px 0 0 10px', width : '90%', |
174 | - labelWidth: 70, allowBlank: false | |
174 | + labelWidth: 70, allowBlank: false, stripCharsRe: /(^\s+|\s+$)/g, | |
175 | + emptyText: 'Please no spaces!' | |
175 | 176 | }); |
176 | 177 | |
177 | 178 | this.setAlias(this.paramNode); | ... | ... |