diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-02-26 12:45:29 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-02-26 12:45:29 +0300 |
commit | 4e7f66c31fbe9f26be74aff4516f7ead8cc5f3b3 (patch) | |
tree | e5db43ca433995afbcc31d40b50057d10b357120 /imprint | |
parent | 0f3603f4f6244dfa7f266aea1764a2924d8bd9bd (diff) | |
parent | 4d1f6639f841ab7485274514da6fae1ef01f58ec (diff) |
Merge pull request #2020 from owncloud/chosenfix
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")); ?> "> |