diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-09-09 18:00:53 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-09-22 10:14:15 +0200 |
commit | 996c68aa2eeb8f861413083d51f692853b4d5ca4 (patch) | |
tree | d517eab55f36669f46bf945ab18a3148068ebd2a /settings/apps.php | |
parent | 7f030eedde528b48f52cab155e1247b01f78b014 (diff) | |
download | nextcloud-server-996c68aa2eeb8f861413083d51f692853b4d5ca4.tar.gz nextcloud-server-996c68aa2eeb8f861413083d51f692853b4d5ca4.zip |
Added select2 on the apps page
Moved setupGroupsSelect() from admin.js to a common settings.js
as OC.Settings.setupGoupsSelect().
Now using select2 as well on the apps page.
Diffstat (limited to 'settings/apps.php')
-rw-r--r-- | settings/apps.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/apps.php b/settings/apps.php index 7573c8b573f..6021574cbb3 100644 --- a/settings/apps.php +++ b/settings/apps.php @@ -24,17 +24,17 @@ OC_Util::checkAdminUser(); // Load the files we need -OC_Util::addStyle( "settings", "settings" ); -OC_Util::addScript("core", "multiselect"); +OCP\Util::addStyle('settings', 'settings' ); +OCP\Util::addScript('settings', 'settings'); +OCP\Util::addScript('core', 'select2/select2'); +OCP\Util::addStyle('core', 'select2/select2'); OC_App::setActiveNavigationEntry( "core_apps" ); $combinedApps = OC_App::listAllApps(); -$groups = \OC_Group::getGroups(); $tmpl = new OC_Template( "settings", "apps", "user" ); $tmpl->assign('apps', $combinedApps); -$tmpl->assign('groups', $groups); $appid = (isset($_GET['appid'])?strip_tags($_GET['appid']):''); |