mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-26 09:53:34 +03:00
Corrected initial values of working plan script.
This commit is contained in:
parent
716378f074
commit
3a9ae7f4a3
1 changed files with 3 additions and 3 deletions
|
@ -172,8 +172,8 @@
|
||||||
var id = $(this).attr('id');
|
var id = $(this).attr('id');
|
||||||
|
|
||||||
if ($(this).prop('checked') == true) {
|
if ($(this).prop('checked') == true) {
|
||||||
$('#' + id + '-start').prop('disabled', false).val('09:00 AM');
|
$('#' + id + '-start').prop('disabled', false).val('9:00 AM');
|
||||||
$('#' + id + '-end').prop('disabled', false).val('18:00 PM');
|
$('#' + id + '-end').prop('disabled', false).val('6:00 PM');
|
||||||
} else {
|
} else {
|
||||||
$('#' + id + '-start').prop('disabled', true).val('');
|
$('#' + id + '-start').prop('disabled', true).val('');
|
||||||
$('#' + id + '-end').prop('disabled', true).val('');
|
$('#' + id + '-end').prop('disabled', true).val('');
|
||||||
|
@ -190,7 +190,7 @@
|
||||||
var tr =
|
var tr =
|
||||||
'<tr>' +
|
'<tr>' +
|
||||||
'<td class="break-day editable">' + EALang.sunday + '</td>' +
|
'<td class="break-day editable">' + EALang.sunday + '</td>' +
|
||||||
'<td class="break-start editable">09:00 AM</td>' +
|
'<td class="break-start editable">9:00 AM</td>' +
|
||||||
'<td class="break-end editable">10:00 AM</td>' +
|
'<td class="break-end editable">10:00 AM</td>' +
|
||||||
'<td>' +
|
'<td>' +
|
||||||
'<button type="button" class="btn btn-default btn-sm edit-break" title="' + EALang.edit + '">' +
|
'<button type="button" class="btn btn-default btn-sm edit-break" title="' + EALang.edit + '">' +
|
||||||
|
|
Loading…
Reference in a new issue