hDate: publishDate },
    dataType: 'json'
  }).done(function(artwork) {
    setTimeout(reloadArtworksForCurrentMonth, 500);
    callback(artwork);
  }).fail(ajaxErrorHandler());
}

function editArtwork(id, artwork, crop, callback) {
  callback = callback || function(){};
  $.ajax({
    type: 'post',
    url: 's/edit',
    data: { id: id, json: JSON.stringify(artwork), crop: JSON.stringify(crop) }
  }).done(function() {
    setTimeout(reloadArtworksForCurrentMonth, 500);
    callback();
  }).fail(ajaxErrorH