mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-07-27 10:45:56 +00:00
StatStore.setUrl - abort pending request, clear data, do not call reload
This commit is contained in:
parent
d6d1af0e2b
commit
89399b2f84
@ -11,9 +11,11 @@ Ext.define('PMG.data.StatStore', {
|
||||
setUrl: function(url) {
|
||||
var me = this;
|
||||
|
||||
me.proxy.abort(); // abort pending requests
|
||||
|
||||
me.staturl = url;
|
||||
me.proxy.extraParams = {};
|
||||
me.reload();
|
||||
me.setData([]);
|
||||
},
|
||||
|
||||
reload: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user