improved calendar (#784)

This commit is contained in:
Kevin Papst
2019-05-19 16:16:20 +02:00
committed by GitHub
parent 1903d6fb77
commit d2ad87d09c
66 changed files with 1030 additions and 1190 deletions

View File

@@ -145,6 +145,7 @@
function updateTimesheetExportState(button, id, exported)
{
// FIXME use kimai API and ALERT
$.ajax({
url: '{{ path('patch_timesheet', {id: '-s-'}) }}'.replace('-s-', id),
headers: {
@@ -171,7 +172,6 @@
}, error: function(jqXHR, textStatus, errorThrown) {
var message = 'An error occured';
if (jqXHR.responseJSON !== undefined) {
console.log(jqXHR);
message = jqXHR.responseJSON.message;
if (jqXHR.responseJSON.errors !== undefined)
{