|
66 |
dialog.confirm(msg, [{ |
66 |
dialog.confirm(msg, [{ |
67 |
label: _('OK'), |
67 |
label: _('OK'), |
68 |
callback: lang.hitch(this, function() { |
68 |
callback: lang.hitch(this, function() { |
69 |
this.umcpCommand('top/kill', params).then(lang.hitch(this, function() { |
69 |
this.standbyDuring(this.umcpCommand('top/kill', params)).then(lang.hitch(this, function() { |
70 |
this.addNotification(_('Signal (%s) sent successfully', signal)); |
70 |
this.addNotification(_('Signal (%s) sent successfully', signal)); |
|
|
71 |
this.reloadGrid(); |
71 |
})); |
72 |
})); |
72 |
}) |
73 |
}) |
73 |
}, { |
74 |
}, { |
|
76 |
}]); |
77 |
}]); |
77 |
}, |
78 |
}, |
78 |
|
79 |
|
|
|
80 |
reloadGrid: function() { |
81 |
this._grid.filter(this._grid.query); |
82 |
}, |
83 |
|
79 |
buildRendering: function() { |
84 |
buildRendering: function() { |
80 |
this.inherited(arguments); |
85 |
this.inherited(arguments); |
81 |
|
86 |
|