mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 22:52:35 +03:00
Corrected display of working plan in settings page.
This commit is contained in:
parent
0d25d7322e
commit
ece2374328
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
|||
|
||||
// We need to refresh the working plan.
|
||||
var workingPlan = BackendSettings.wp.get();
|
||||
$('.breaks').empty();
|
||||
$('.breaks tbody').empty();
|
||||
BackendSettings.wp.setup(workingPlan);
|
||||
BackendSettings.wp.timepickers(false);
|
||||
}, 'json').fail(GeneralFunctions.ajaxFailureHandler);
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
'</button>' +
|
||||
'</td>' +
|
||||
'</tr>';
|
||||
$('.breaks').append(tr);
|
||||
$('.breaks tbody').append(tr);
|
||||
}.bind(this));
|
||||
} else {
|
||||
$('#' + index).prop('checked', false);
|
||||
|
|
Loading…
Reference in a new issue