summaryrefslogtreecommitdiffstats
path: root/core/ajax/preview.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-12-06 00:53:06 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2015-01-02 10:28:41 +0100
commitd3662722f66eb5b97593922a11e5357eff0fb042 (patch)
treedd45389e024f914ff5e454e0523b82f3349fdd48 /core/ajax/preview.php
parent0ba3093196fee7079583847b40ef3a8e00df47a7 (diff)
downloadnextcloud-server-d3662722f66eb5b97593922a11e5357eff0fb042.tar.gz
nextcloud-server-d3662722f66eb5b97593922a11e5357eff0fb042.zip
new OC.Search, add search result formatters and handlers, use full content width for results
Diffstat (limited to 'core/ajax/preview.php')
-rw-r--r--core/ajax/preview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/preview.php b/core/ajax/preview.php
index 56ef5ea847b..03dfb483062 100644
--- a/core/ajax/preview.php
+++ b/core/ajax/preview.php
@@ -40,9 +40,9 @@ try {
$preview->setMaxY($maxY);
$preview->setScalingUp($scalingUp);
$preview->setKeepAspect($keepAspect);
+ $preview->showPreview();
}
- $preview->showPreview();
} catch (\Exception $e) {
\OC_Response::setStatus(500);
\OC_Log::write('core', $e->getmessage(), \OC_Log::DEBUG);