diff --git a/ucs-4.0-0/management/univention-management-console-module-top/umc/js/top.js b/ucs-4.0-0/management/univention-management-console-module-top/umc/js/top.js index 5ced3df..6fc02a2 100644 --- a/ucs-4.0-0/management/univention-management-console-module-top/umc/js/top.js +++ b/ucs-4.0-0/management/univention-management-console-module-top/umc/js/top.js @@ -66,8 +66,9 @@ define([ dialog.confirm(msg, [{ label: _('OK'), callback: lang.hitch(this, function() { - this.umcpCommand('top/kill', params).then(lang.hitch(this, function() { + this.standbyDuring(this.umcpCommand('top/kill', params)).then(lang.hitch(this, function() { this.addNotification(_('Signal (%s) sent successfully', signal)); + this.reloadGrid(); })); }) }, { @@ -76,6 +77,10 @@ define([ }]); }, + reloadGrid: function() { + this._grid.filter(this._grid.query); + }, + buildRendering: function() { this.inherited(arguments); diff --git a/ucs-4.0-0/management/univention-management-console-module-top/umc/python/top/__init__.py b/ucs-4.0-0/management/univention-management-console-module-top/umc/python/top/__init__.py index 003cbf7..7a7221b 100644 --- a/ucs-4.0-0/management/univention-management-console-module-top/umc/python/top/__init__.py +++ b/ucs-4.0-0/management/univention-management-console-module-top/umc/python/top/__init__.py @@ -118,7 +118,7 @@ class Instance(umcm.Base): success = True else: request.status = MODULE_ERR - failed = ', '.join(failed) + failed = ', '.join(map(str, failed)) message = _('No process found with PID %s') % (failed) success = False self.finished(request.id, success, message=message)