Ext.EventManager.onWindowResize(function(){ win.center(); });
Ext.apply(Ext.form.TextField.prototype, { validator : function(text) { if (this.allowBlank == false && Ext.util.Format.trim(text).length == 0) return false; else return true; } }); Ext.apply(Ext.form.ComboBox.prototype, { validator : function(text) { if (this.allowBlank == false && Ext.util.Format.trim(text).length == 0) return false; else return true; } });
作者:吴旭晓 | 来源:个人博客 | 点击量:2040 | 发布时间:2013-06-27
最新留言 |
返回上一页 |
返回首页