dj
12 Apr 2009, 9:38 AM
From SVN Revision 3650 upwards (currently I'm working with SVN Revision 3674) the constructor of Ext.data.DataProxy overrides the api-config that e.g. Ext.data.DirectProxy writes before calling its superclass constructor. This renders the Ext.data.DirectProxy useless.
To fix this, change lines 17-22 of src/data/DataProxy.js from
this.api = {
load : undefined,
create : undefined,
save : undefined,
destroy : undefined
};
to
Ext.applyIf(this,{
api : {
load : undefined,
create : undefined,
save : undefined,
destroy : undefined
}
});
To fix this, change lines 17-22 of src/data/DataProxy.js from
this.api = {
load : undefined,
create : undefined,
save : undefined,
destroy : undefined
};
to
Ext.applyIf(this,{
api : {
load : undefined,
create : undefined,
save : undefined,
destroy : undefined
}
});