mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-06 16:06:07 +00:00
cleanup: use Ext.data.Proxy.Ajax.abort()
This commit is contained in:
parent
2ca04e02bc
commit
d6d1af0e2b
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user