diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-11-06 09:27:12 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-11-06 09:27:12 +0100 |
commit | 226d43a1cf7f040d75324525aae761679259919b (patch) | |
tree | 59178ebd753677658f1b957155b7050e6f37520d /settings | |
parent | afa14d571cc767667373dcdfe1f5f03c98f6f3ee (diff) | |
download | nextcloud-server-226d43a1cf7f040d75324525aae761679259919b.tar.gz nextcloud-server-226d43a1cf7f040d75324525aae761679259919b.zip |
manage select2 via bower
Diffstat (limited to 'settings')
-rw-r--r-- | settings/apps.php | 4 | ||||
-rw-r--r-- | settings/templates/admin.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/settings/apps.php b/settings/apps.php index c1e3e51bd79..99d4d99975b 100644 --- a/settings/apps.php +++ b/settings/apps.php @@ -28,8 +28,8 @@ OC_Util::checkAdminUser(); \OC_Util::addVendorScript('handlebars/handlebars'); \OCP\Util::addScript("settings", "settings"); \OCP\Util::addStyle("settings", "settings"); -\OCP\Util::addScript('core', 'select2/select2'); -\OCP\Util::addStyle('core', 'select2/select2'); +\OC_Util::addVendorScript('select2/select2'); +\OC_Util::addVendorStyle('select2/select2'); \OCP\Util::addScript("settings", "apps"); \OC_App::setActiveNavigationEntry( "core_apps" ); diff --git a/settings/templates/admin.php b/settings/templates/admin.php index bcf57e12a89..0033845c74e 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -14,8 +14,8 @@ script('settings', 'settings'); script( "settings", "admin" ); script( "settings", "log" ); script( 'core', 'multiselect' ); -script('core', 'select2/select2'); -style('core', 'select2/select2'); +vendor_script('select2/select2'); +vendor_style('select2/select2'); script('core', 'setupchecks'); $levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal'); |