forked from mirrors/easyappointments
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.
|
// We need to refresh the working plan.
|
||||||
var workingPlan = BackendSettings.wp.get();
|
var workingPlan = BackendSettings.wp.get();
|
||||||
$('.breaks').empty();
|
$('.breaks tbody').empty();
|
||||||
BackendSettings.wp.setup(workingPlan);
|
BackendSettings.wp.setup(workingPlan);
|
||||||
BackendSettings.wp.timepickers(false);
|
BackendSettings.wp.timepickers(false);
|
||||||
}, 'json').fail(GeneralFunctions.ajaxFailureHandler);
|
}, 'json').fail(GeneralFunctions.ajaxFailureHandler);
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
'</button>' +
|
'</button>' +
|
||||||
'</td>' +
|
'</td>' +
|
||||||
'</tr>';
|
'</tr>';
|
||||||
$('.breaks').append(tr);
|
$('.breaks tbody').append(tr);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
} else {
|
} else {
|
||||||
$('#' + index).prop('checked', false);
|
$('#' + index).prop('checked', false);
|
||||||
|
|
Loading…
Reference in a new issue