mirror of https://github.com/apache/nifi.git
NIFI-694:
- Ensuring bulletins are not lost when updating a reporting task.
This commit is contained in:
parent
4fd1e9494e
commit
c3dff40902
|
@ -177,7 +177,10 @@ nf.ReportingTask = (function () {
|
|||
// get the table and update the row accordingly
|
||||
var reportingTaskGrid = $('#reporting-tasks-table').data('gridInstance');
|
||||
var reportingTaskData = reportingTaskGrid.getData();
|
||||
reportingTaskData.updateItem(reportingTask.id, reportingTask);
|
||||
var currentReportingTask = reportingTaskData.getItemById(reportingTask.id);
|
||||
reportingTaskData.updateItem(reportingTask.id, $.extend({
|
||||
bulletins: currentReportingTask.bulletins
|
||||
}, reportingTask));
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue