diff options
author | Vincent Petry <PVince81@yahoo.fr> | 2015-02-24 16:27:09 +0300 |
---|---|---|
committer | Vincent Petry <PVince81@yahoo.fr> | 2015-02-24 16:27:09 +0300 |
commit | 4d1f6639f841ab7485274514da6fae1ef01f58ec (patch) | |
tree | 058fbc9276277943b5a6fa9739d320c65f7faace /imprint | |
parent | 931e969af03d4974fcaf86f573bc9c8eafb5d33b (diff) |
Fix loading chosen lib from vendor folder for imprint app
Diffstat (limited to 'imprint')
-rw-r--r-- | imprint/settings.php | 2 | ||||
-rw-r--r-- | imprint/templates/tmpl_settings.php | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/imprint/settings.php b/imprint/settings.php index 96571a89e..8e751c625 100644 --- a/imprint/settings.php +++ b/imprint/settings.php @@ -35,11 +35,9 @@ \OCP\User::checkAdminUser(); \OCP\App::checkAppEnabled('imprint'); -\OCP\Util::addStyle('imprint', '../vendor/chosen.jquery.min'); \OCP\Util::addStyle('imprint', 'settings'); \OCP\Util::addStyle('imprint', 'reference'); -\OCP\Util::addScript('imprint', '../vendor/chosen.jquery.min'); \OCP\Util::addScript('imprint', 'settings'); // fetch template diff --git a/imprint/templates/tmpl_settings.php b/imprint/templates/tmpl_settings.php index d1b11fab0..67e9d2172 100644 --- a/imprint/templates/tmpl_settings.php +++ b/imprint/templates/tmpl_settings.php @@ -21,6 +21,10 @@ * If not, see <http://www.gnu.org/licenses/>. * */ + +vendor_style('imprint', 'chosen.jquery.min'); +vendor_script('imprint', 'chosen.jquery.min'); + ?> <?php @@ -32,6 +36,7 @@ */ ?> + <!-- settings of app 'imprint' --> <div class="section" id="imprint"> <img src="<?php p(\OCP\Util::imagePath("imprint","imprint-dusky.svg")); ?> "> |