[pve-devel] applied: [PATCH manager v2] fix #1872 Move button stays on the screen after closing

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Aug 20 15:03:05 CEST 2018


On 8/20/18 11:57 AM, David Limbeck wrote:
> ---
>  www/manager6/qemu/HDMove.js | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/www/manager6/qemu/HDMove.js b/www/manager6/qemu/HDMove.js
> index f08fd316..df325f75 100644
> --- a/www/manager6/qemu/HDMove.js
> +++ b/www/manager6/qemu/HDMove.js
> @@ -33,12 +33,10 @@ Ext.define('PVE.window.HDMove', {
>  	    success: function(response, options) {
>  		var upid = response.result.data;
>  		var win = Ext.create('Proxmox.window.TaskViewer', {
> -		    upid: upid,
> -		    taskDone: function(success) {
> -			me.close();
> -		    }
> +		    upid: upid
>  		});
>  		win.show();
> +		win.on('destroy', function() { me.close(); });
>  	    }
>  	});
>  
> 

applied, thanks




More information about the pve-devel mailing list