[pve-devel] [PATCH manager 4/7] ext6migrate: fix task history race condition
Dominik Csapak
d.csapak at proxmox.com
Fri Mar 11 15:57:31 CET 2016
on destroy, stop the store loading, else
we try to update dom elements which are not there anymore
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/node/Tasks.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/manager6/node/Tasks.js b/www/manager6/node/Tasks.js
index 6a73ef8..7fe7317 100644
--- a/www/manager6/node/Tasks.js
+++ b/www/manager6/node/Tasks.js
@@ -162,7 +162,8 @@ Ext.define('PVE.node.Tasks', {
selectionchange: function(v, selections) {
view_btn.setDisabled(!(selections && selections[0]));
},
- show: function() { reload_task.delay(10); }
+ show: function() { reload_task.delay(10); },
+ destroy: function() { reload_task.cancel(); },
}
});
--
2.1.4
More information about the pve-devel
mailing list