View | Details | Raw Unified | Return to bug 19712
Collapse All | Expand All

(-)a/branches/ucs-3.2/ucs-3.2-0/virtualization/univention-virtual-machine-manager-daemon/umc/js/uvmm.js (-2 / +2 lines)
 Lines 819-825   define([ Link Here 
819
					/* newState */ 'SHUTOFF',
819
					/* newState */ 'SHUTOFF',
820
					/* action */ 'stop'),
820
					/* action */ 'stop'),
821
				canExecute: function(item) {
821
				canExecute: function(item) {
822
					return (item.state == 'RUNNING' || item.state == 'IDLE') && item.node_available;
822
					return (item.state == 'RUNNING' || item.state == 'IDLE' || item.state == 'PAUSED') && item.node_available;
823
				}
823
				}
824
			}, {
824
			}, {
825
				name: 'pause',
825
				name: 'pause',
 Lines 870-876   define([ Link Here 
870
				} ),
870
				} ),
871
				callback: lang.hitch(this, 'vncLink' ),
871
				callback: lang.hitch(this, 'vncLink' ),
872
				canExecute: function(item) {
872
				canExecute: function(item) {
873
					return (item.state == 'RUNNING' || item.state == 'IDLE') && item.vnc_port && item.node_available;
873
					return (item.state == 'RUNNING' || item.state == 'IDLE' || item.state == 'PAUSED') && item.vnc_port && item.node_available;
874
				}
874
				}
875
			}, {
875
			}, {
876
				name: 'migrate',
876
				name: 'migrate',

Return to bug 19712