diff --git a/src/assets/js/working_plan.js b/src/assets/js/working_plan.js index e38f3a87..ccf067a1 100644 --- a/src/assets/js/working_plan.js +++ b/src/assets/js/working_plan.js @@ -301,7 +301,7 @@ $editedTr.find('.editable .submit-editable').trigger('click'); this.enableSubmit = false; - $(element).closest('table').find('.save-break, .cancel-break').addClass('hidden'); + $editedTr.find('.save-break, .cancel-break').addClass('hidden'); $(element).closest('table').find('.edit-break, .delete-break').removeClass('hidden'); $('.add-break').prop('disabled', false); }.bind(this));