The google calendar sync buttons need to be hidden cause they cannot be used in the table view.

This commit is contained in:
Alex Tselegidis 2016-07-22 22:10:33 +02:00
parent 2783310a93
commit 0d966cb0ba

View file

@ -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);