NIFI-694:

- Ensuring bulletins are not lost when updating a reporting task.
This commit is contained in:
Matt Gilman 2015-07-02 10:22:42 -04:00
parent 4fd1e9494e
commit c3dff40902
1 changed files with 4 additions and 1 deletions

View File

@ -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));
};
/**