this.callback = cb;
this.data = data;
- this.dialog.show(this.data._el);
+ this.dialog.show.apply(this.dialog, Array.prototype.slice.call(arguments).slice(2));
if (this.form) {
this.form.reset();
this.form.setValues(data);
click : function() {
var name = _this.form.findField('name').getValue();
- name = name.toUpperCase().replace(/[^A-Z]+/g, '');
+ name = name.toUpperCase().replace(/[^A-Z0-9]+/g, '');
if (!name.length) {
Roo.MessageBox.alert("Error","Please fill in a valid name");
return;
allowBlank : false,
fieldLabel : _this._strings['b48968e1c912da07df5e8d6d246291ec'] /* Display Name */,
name : 'display_name',
- width : 200,
+ width : 250,
listeners : {
keyup : function (_self, e)
{