PDA

View Full Version : [FIXED] View is undefined IN Ext.rtl.grid.plugin.BufferedRenderer



vahid4134
2 Jul 2015, 12:09 AM
I found this code


Ext.define('Ext.rtl.grid.plugin.BufferedRenderer', {
override: 'Ext.grid.plugin.BufferedRenderer',
translateBody: function(body, bodyTop) {
if (this.isRTL && Ext.supports.xOriginBug && view.scrollFlags.y) {
body.translate(Ext.getScrollbarSize().width, this.bodyTop = bodyTop);
} else {
this.callParent([
body,
bodyTop
]);
}
}
});


Must change to



Ext.define('Ext.rtl.grid.plugin.BufferedRenderer', {
override: 'Ext.grid.plugin.BufferedRenderer',
translateBody: function(body, bodyTop) {
if (this.isRTL && Ext.supports.xOriginBug && this.view.scrollFlags.y) {
body.translate(Ext.getScrollbarSize().width, this.bodyTop = bodyTop);
} else {
this.callParent([
body,
bodyTop
]);
}
}
});

evant
2 Jul 2015, 1:44 AM
Thanks for the report! I have opened a bug in our bug tracker.