Fix loading of files/gallery script

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-03-05 18:47:18 +01:00
parent 9497659b81
commit 976f13d3bc
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
3 changed files with 17 additions and 9 deletions

View File

@ -1,7 +1,10 @@
[ [
"app.js", "upload-helper.js",
"vendor/bigshot/bigshot-compressed.js",
"vendor/jquery-touch-events/src/1.0.8/jquery.mobile-events.min.js", "vendor/jquery-touch-events/src/1.0.8/jquery.mobile-events.min.js",
"vendor/jquery.ui.touch-punch-custom.js", "vendor/jquery.ui.touch-punch-custom.js",
"vendor/modified-eventsource-polyfill/eventsource-polyfill.js",
"vendor/commonmark/dist/commonmark.min.js",
"gallery.js", "gallery.js",
"templates.js", "templates.js",
"galleryutility.js", "galleryutility.js",
@ -13,16 +16,13 @@
"galleryrow.js", "galleryrow.js",
"galleryimage.js", "galleryimage.js",
"thumbnail.js", "thumbnail.js",
"vendor/modified-eventsource-polyfill/eventsource-polyfill.js",
"eventsource.js", "eventsource.js",
"vendor/nextcloud/share.js", "vendor/nextcloud/share.js",
"vendor/commonmark/dist/commonmark.min.js",
"vendor/dompurify/src/purify.js", "vendor/dompurify/src/purify.js",
"vendor/bigshot/bigshot-compressed.js",
"slideshow.js", "slideshow.js",
"slideshowcontrols.js", "slideshowcontrols.js",
"slideshowzoomablepreview.js", "slideshowzoomablepreview.js",
"upload-helper.js",
"vendor/nextcloud/newfilemenu.js", "vendor/nextcloud/newfilemenu.js",
"newfilemenuplugins.js" "newfilemenuplugins.js",
"app.js"
] ]

View File

@ -217,5 +217,5 @@ var Files = {
} }
}; };
OCA.Files = Files; OCA.Files = Object.assign({}, OCA.Files, Files);
OCA.Files.App.fileList = FileList; OCA.Files.App.fileList = Object.assign({}, OCA.Files.App.fileList, FileList);

View File

@ -7,7 +7,9 @@
*/ */
script( script(
$_['appName'], $_['appName'],
'merged' [
'upload-helper',
]
); );
script( script(
'files', 'files',
@ -20,6 +22,12 @@ script(
'semaphore' 'semaphore'
] ]
); );
script(
$_['appName'],
[
'merged'
]
);
style( style(
'files', 'files',
[ [