From d6d1af0e2b8c55ad2b95eb549e58e10fa47aeacf Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 6 Sep 2017 07:22:39 +0200 Subject: [PATCH] cleanup: use Ext.data.Proxy.Ajax.abort() --- js/StatStore.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/StatStore.js b/js/StatStore.js index 8591da9..a9fe611 100644 --- a/js/StatStore.js +++ b/js/StatStore.js @@ -19,8 +19,7 @@ Ext.define('PMG.data.StatStore', { reload: function() { var me = this; - Ext.Ajax.abort(me.proxy.activeRequest); - delete me.proxy.activeRequest; + me.proxy.abort(); // abort pending requests if (me.staturl === undefined) { me.proxy.extraParams = {};