start_event.js
627 字节
var pagewidth=window.screen.width;//获得页面宽度
var pageheight=window.screen.height;//获得页面高度
/*Transevent = function(){
this.addEvents("reload_grid");
};
var transev = new Transevent();
Ext.extend(Transevent,Ext.util.Observable);*/
//为改写baseParams重写源码,解决了过去传参数不成功现象
Ext.override(Ext.data.Store, {
storeOptions : function(o) {
o = Ext.apply({}, o);
if (o.params)
o.params = Ext.apply({}, o.params);
delete o.callback;
delete o.scope;
this.lastOptions = o;
}
});