[pve-devel] [PATCH manager 1/4] Add a new property afterAPICall to Edit Window

Dietmar Maurer dietmar at proxmox.com
Thu Dec 22 09:21:08 CET 2016


IMHO this is misleading, because we do not call afterAPICall
in all cases (depends on me.backgroundDelay or me.showProgress)?


> @@ -118,6 +122,9 @@ Ext.define('PVE.window.Edit', {
>  		    var win = Ext.create('PVE.window.TaskProgress', { 
>  			upid: upid
>  		    });
> +		    if (Ext.isFunction(me.afterAPICall)) {
> +			win.on('destroy', me.afterAPICall);
> +		    }




More information about the pve-devel mailing list