[pve-devel] r6343 - pve-manager/pve2/www/manager/window
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu Jul 21 12:29:20 CEST 2011
Author: dietmar
Date: 2011-07-21 12:29:20 +0200 (Thu, 21 Jul 2011)
New Revision: 6343
Modified:
pve-manager/pve2/www/manager/window/TaskViewer.js
Log:
use waitMsgTarget
Modified: pve-manager/pve2/www/manager/window/TaskViewer.js
===================================================================
--- pve-manager/pve2/www/manager/window/TaskViewer.js 2011-07-21 10:23:41 UTC (rev 6342)
+++ pve-manager/pve2/www/manager/window/TaskViewer.js 2011-07-21 10:29:20 UTC (rev 6343)
@@ -69,13 +69,10 @@
me.on('destroy', statstore.stopUpdate);
var stop_task = function() {
- me.setLoading(true, true);
PVE.Utils.API2Request({
url: "/nodes/" + task.node + "/tasks/" + me.upid,
+ waitMsgTarget: me.getTargetEl(),
method: 'DELETE',
- callback: function() {
- me.setLoading(false);
- },
failure: function(response, opts) {
Ext.Msg.alert('Error', response.htmlStatus);
}
More information about the pve-devel
mailing list