Corrected breaks selector for working plan reset.

This commit is contained in:
alext 2016-11-06 12:57:43 +01:00
parent fad8d3630c
commit d6c3968ba5

View file

@ -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);