return of the document dialog at /document/<id>

This commit is contained in:
j 2017-01-25 22:01:40 +01:00
commit df60dca85f
9 changed files with 31 additions and 20 deletions

View file

@ -34,7 +34,7 @@ pandora.documentColumns = [
format: function(value, data) {
return Ox.isArray(value)
? Ox.formatDimensions(value, 'px')
: Ox.formatCount(value, data.extension == 'html' ? 'word' : 'page');
: Ox.formatCount(value, (data && data.extension == 'html') ? 'word' : 'page');
},
id: 'dimensions',
operator: '-',