Compare commits

..

No commits in common. "098811d3838f90e9248c8da613f87f9dc01d16a1" and "a4d0830e4bcc708821e73f401f7886612a128703" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View file

@ -948,11 +948,9 @@ def timeline(request, id, size, position=-1, format='jpg', mode=None):
if not item.access(request.user):
return HttpResponseForbidden()
modes = [t['id'] for t in settings.CONFIG['timelines']]
if not mode:
mode = 'antialias'
if mode not in modes:
mode = modes[0]
modes = [t['id'] for t in settings.CONFIG['timelines']]
if mode not in modes:
raise Http404
modes.pop(modes.index(mode))

View file

@ -559,7 +559,6 @@ pandora.ui.documentInfoView = function(data, isMixed) {
$('<span>').html(formatKey(key)).appendTo($element);
Ox.EditableContent({
clickLink: pandora.clickLink,
editable: canEdit,
format: function(value) {
return formatValue(key, value);
},