aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-10-22 14:35:07 +0200
committerGitHub <noreply@github.com>2016-10-22 14:35:07 +0200
commit1be6213ba46e5f3aaac9cfe62c988a60c291fec1 (patch)
tree711297e64bbbaa23bb7fb864a972401a66dce9e5 /lib/private
parent038d02a27d41a50a759962759d6701ebfe9db46d (diff)
parent3e5e07aa64f94bea528450d810249c74d0f8c03f (diff)
downloadnextcloud-server-1be6213ba46e5f3aaac9cfe62c988a60c291fec1.tar.gz
nextcloud-server-1be6213ba46e5f3aaac9cfe62c988a60c291fec1.zip
Merge pull request #1832 from nextcloud/select2-into-core
Select2 into core
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/template.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php
index b43b4da839a..7520ffd44ed 100644
--- a/lib/private/legacy/template.php
+++ b/lib/private/legacy/template.php
@@ -117,7 +117,7 @@ class OC_Template extends \OC\Template\Base {
OC_Util::addStyle("fonts",null,true);
OC_Util::addStyle("icons",null,true);
OC_Util::addStyle("header",null,true);
- OC_Util::addStyle("inputs",null,true);
+ OC_Util::addStyle("inputs");
OC_Util::addStyle("styles",null,true);
// avatars
@@ -126,6 +126,10 @@ class OC_Template extends \OC\Template\Base {
\OC_Util::addScript('placeholder', null, true);
}
+ OC_Util::addVendorScript('select2/select2');
+ OC_Util::addVendorStyle('select2/select2', null, true);
+ OC_Util::addScript('select2-toggleselect');
+
OC_Util::addScript('oc-backbone', null, true);
OC_Util::addVendorScript('core', 'backbone/backbone', true);
OC_Util::addVendorScript('snapjs/dist/latest/snap', null, true);