diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-12-18 23:18:37 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-12-18 23:18:37 +0100 |
commit | 891474b0d6b8cc77a8480cd91f1e48ad3bc3e73b (patch) | |
tree | dedc4a94ec16651266bf15d46a6687efb901c63e /apps | |
parent | 49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7 (diff) | |
parent | 51a22431ee824357dce0100cb000032f29aabd47 (diff) | |
download | nextcloud-server-891474b0d6b8cc77a8480cd91f1e48ad3bc3e73b.tar.gz nextcloud-server-891474b0d6b8cc77a8480cd91f1e48ad3bc3e73b.zip |
Merge pull request #12759 from owncloud/core-reduce-js-and-css
make sure styles and scripts are only loaded once
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/templates/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 072f856dfbd..79950f30385 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -76,7 +76,7 @@ <?php endif; ?> <?php endif; ?> <?php endforeach; ?> - <?php if (isset($_['backends'][$mount['class']]['custom']) && !in_array('files_external/js/'.$_['backends'][$mount['class']]['custom'], \OC_Util::$scripts)): ?> + <?php if (isset($_['backends'][$mount['class']]['custom'])): ?> <?php OCP\Util::addScript('files_external', $_['backends'][$mount['class']]['custom']); ?> <?php endif; ?> <?php endif; ?> |