Univention Bugzilla – Attachment 6341 Details for
Bug 36563
'start' a service which is already started
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
36563.patch (text/plain), 2.21 KB, created by
Florian Best
on 2014-11-11 13:31:23 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2014-11-11 13:31:23 CET
Size:
2.21 KB
patch
obsolete
>diff --git a/ucs-4.0-0/management/univention-management-console-module-services/umc/js/services.js b/ucs-4.0-0/management/univention-management-console-module-services/umc/js/services.js >index bb06f93..69d5043 100644 >--- a/ucs-4.0-0/management/univention-management-console-module-services/umc/js/services.js >+++ b/ucs-4.0-0/management/univention-management-console-module-services/umc/js/services.js >@@ -69,6 +69,8 @@ define([ > this._changeState(data, command, confirmMessage, errorMessage); > } > }), >+ canExecute: function(item) { return !item.isRunning; }, >+ enablingMode: 'some', > isStandardAction: true, > isMultiAction: true > }, { >@@ -82,6 +84,8 @@ define([ > this._changeState(data, command, confirmMessage, errorMessage); > } > }), >+ canExecute: function(item) { return item.isRunning; }, >+ enablingMode: 'some', > isStandardAction: true, > isMultiAction: true > }, { >@@ -95,6 +99,8 @@ define([ > this._changeState(data, command, confirmMessage, errorMessage); > } > }), >+ canExecute: function(item) { return item.isRunning; }, >+ enablingMode: 'some', > isStandardAction: true, > isMultiAction: true > }, { >@@ -106,6 +112,8 @@ define([ > var errorMessage = _('Could not change start type of the following services: '); > this._changeState(data, command, confirmMessage, errorMessage); > }), >+ canExecute: function(item) { return item.autostart !== 'yes'; }, >+ enablingMode: 'some', > isStandardAction: false, > isMultiAction: true > }, { >@@ -117,6 +125,8 @@ define([ > var errorMessage = _('Could not change start type of the following services: '); > this._changeState(data, command, confirmMessage, errorMessage); > }), >+ canExecute: function(item) { return item.autostart !== 'manually'; }, >+ enablingMode: 'some', > isStandardAction: false, > isMultiAction: true > }, { >@@ -128,6 +138,8 @@ define([ > var errorMessage = _('Could not change start type of the following services: '); > this._changeState(data, command, confirmMessage, errorMessage); > }), >+ canExecute: function(item) { return item.autostart !== 'no'; }, >+ enablingMode: 'some', > isStandardAction: false, > isMultiAction: true > }];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36563
: 6341