forked from mirrors/easyappointments
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