cleanup: use Ext.data.Proxy.Ajax.abort()

This commit is contained in:
Dietmar Maurer 2017-09-06 07:22:39 +02:00
parent 2ca04e02bc
commit d6d1af0e2b

View File

@ -19,8 +19,7 @@ Ext.define('PMG.data.StatStore', {
reload: function() { reload: function() {
var me = this; var me = this;
Ext.Ajax.abort(me.proxy.activeRequest); me.proxy.abort(); // abort pending requests
delete me.proxy.activeRequest;
if (me.staturl === undefined) { if (me.staturl === undefined) {
me.proxy.extraParams = {}; me.proxy.extraParams = {};