From d6c3968ba54cf911c7a8270bd20cbb7652f5d27e Mon Sep 17 00:00:00 2001 From: alext Date: Sun, 6 Nov 2016 12:57:43 +0100 Subject: [PATCH] Corrected breaks selector for working plan reset. --- src/assets/js/backend_users_providers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/js/backend_users_providers.js b/src/assets/js/backend_users_providers.js index 9d7af570..7ad3f501 100644 --- a/src/assets/js/backend_users_providers.js +++ b/src/assets/js/backend_users_providers.js @@ -225,7 +225,7 @@ * Event: Reset Working Plan Button "Click". */ $('#providers').on('click', '#reset-working-plan', function() { - $('.breaks').empty(); + $('.breaks tbody').empty(); $('.work-start, .work-end').val(''); BackendUsers.wp.setup(GlobalVariables.workingPlan); BackendUsers.wp.timepickers(false);