[pve-devel] applied: [PATCH manager 1/2] fix #2096: enable resume button in context menu

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Feb 19 11:50:59 CET 2019


On 2/18/19 3:52 PM, Oguz Bektas wrote:
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
>  www/manager6/qemu/CmdMenu.js | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/www/manager6/qemu/CmdMenu.js b/www/manager6/qemu/CmdMenu.js
> index da6f556a..bbcbffba 100644
> --- a/www/manager6/qemu/CmdMenu.js
> +++ b/www/manager6/qemu/CmdMenu.js
> @@ -40,6 +40,10 @@ Ext.define('PVE.qemu.CmdMenu', {
>  		running = true;
>  		stopped = false;
>  		break;
> +	    case 'suspended':
> +		stopped = false;
> +		suspended = true;
> +		break;
>  	    case 'paused':
>  		stopped = false;
>  		suspended = true;
> 

applied, with extended commit message, please try to a bit more verbose (it's not
always needed to write paragraphs, but one or two sentences seldom hurt ;)




More information about the pve-devel mailing list