[oozie] Oozie Jobs Submitted via Filebrowser Execute Options Doesnt Show Logs Button in workflow (asnaik)
@@ -88,8 +88,8 @@ ${ dashboard.import_layout() }
}
else {
var actionName = actionId.toLowerCase().substr(actionId.lastIndexOf('-') + 1)
- if ($("[id^=wdg_" + actionName + "]").length > 0) {
- _w = viewModel.getWidgetById($("[id^=wdg_" + actionName + "]").attr("id").substr(4));
+ if ($("[id^=wdg_][id*=" + actionName + "]").length > 0) {
+ _w = viewModel.getWidgetById($("[id^=wdg_][id*=" + actionName + "]").attr("id").substr(4));
}
else {
_w = viewModel.getWidgetById('33430f0f-ebfa-c3ec-f237-3e77efa03d0a');
