|
|
@@ -662,7 +662,13 @@ ${ utils.slaGlobal() }
|
|
|
}));
|
|
|
% if layout_json != '':
|
|
|
ko.utils.arrayForEach(actionsViewModel.actions(), function(action) {
|
|
|
- var _w = viewModel.getWidgetById($("[id^=wdg_" + action.id.substr(action.id.length - 4) + "]").attr("id").substr(4));
|
|
|
+ var _w, actionId = action.id.substr(action.id.length - 4);
|
|
|
+ if (actionId === '@End'){
|
|
|
+ _w = viewModel.getWidgetById('33430f0f-ebfa-c3ec-f237-3e77efa03d0a');
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ _w = viewModel.getWidgetById($("[id^=wdg_" + actionId + "]").attr("id").substr(4));
|
|
|
+ }
|
|
|
if (_w != null) {
|
|
|
if (['SUCCEEDED', 'OK', 'DONE'].indexOf(action.status) > -1) {
|
|
|
_w.status("success");
|