mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-23 00:13:21 +03:00
The google calendar sync buttons need to be hidden cause they cannot be used in the table view.
This commit is contained in:
parent
2783310a93
commit
0d966cb0ba
1 changed files with 3 additions and 0 deletions
|
@ -715,6 +715,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
||||||
_createHeader();
|
_createHeader();
|
||||||
_createView(Date.today(), Date.today().add({days: parseInt($('#select-filter-item').val() - 1)}));
|
_createView(Date.today(), Date.today().add({days: parseInt($('#select-filter-item').val() - 1)}));
|
||||||
_bindEventHandlers();
|
_bindEventHandlers();
|
||||||
|
|
||||||
|
// Hide Google Calendar Sync buttons cause they can not be used within this view.
|
||||||
|
$('#enable-sync, #google-sync').hide();
|
||||||
};
|
};
|
||||||
|
|
||||||
})(window.BackendCalendarTableView);
|
})(window.BackendCalendarTableView);
|
||||||
|
|
Loading…
Reference in a new issue