aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-07 09:03:14 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-07 14:03:14 +0200
commitacf0ca15414fa17ae5ccc2a7d123f83cf5a2192d (patch)
treed68fb69b753a47357df30a24458dbf3b0e932e7b /apps
parent22f3306fd0d4f782ba415ef8220f077e293eb655 (diff)
downloadnextcloud-server-acf0ca15414fa17ae5ccc2a7d123f83cf5a2192d.tar.gz
nextcloud-server-acf0ca15414fa17ae5ccc2a7d123f83cf5a2192d.zip
Move OC.appswebroots to the bundle and deprecate oc_appswebroots
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/public.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index d339ae1dcb4..08b7af356f3 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -152,7 +152,7 @@ OCA.Sharing.PublicApp = {
img.attr('src', $('#downloadURL').val());
imgcontainer.appendTo('#imgframe');
} else if (mimetype.substr(0, mimetype.indexOf('/')) === 'text' && window.btoa) {
- if (oc_appswebroots['files_texteditor'] !== undefined) {
+ if (OC.appswebroots['files_texteditor'] !== undefined) {
// the text editor handles the previewing
return;
}