From 5534ebd1f749b0689e2c2a9053c6e78ba9f795a8 Mon Sep 17 00:00:00 2001 From: p0zi Date: Fri, 21 Oct 2016 01:54:54 +0200 Subject: [PATCH] 218 - Unable to edit providers breaks in Google Chrome [https://github.com/alextselegidis/easyappointments/issues/218] Small fix to previous commit --- src/assets/js/working_plan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));