diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-09-09 18:00:53 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-09-09 18:04:00 +0200 |
commit | 0d28ba06625466adda4cc985d701962843eb5be2 (patch) | |
tree | 8313afc1f99c59f09847d1cc03fef75f2dda78b7 /settings/templates | |
parent | 39f5580cdf154256a7586fa57c8e7f094a9721a9 (diff) | |
download | nextcloud-server-0d28ba06625466adda4cc985d701962843eb5be2.tar.gz nextcloud-server-0d28ba06625466adda4cc985d701962843eb5be2.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/templates')
-rw-r--r-- | settings/templates/apps.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 29fda0ed243..5199d3fd7c7 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -58,11 +58,7 @@ <input class="hidden" type="checkbox" id="groups_enable"/> <label class="hidden" for="groups_enable"><?php p($l->t('Enable only for specific groups')); ?></label> <br /> - <select class="hidden" id="group_select" multiple="multiple" title="<?php p($l->t('All')); ?>"> - <?php foreach($_['groups'] as $group):?> - <option value="<?php p($group);?>"><?php p($group); ?></option> - <?php endforeach;?> - </select> + <input type="hidden" id="group_select" title="<?php p($l->t('All')); ?>" style="width: 200px"> <div class="warning hidden"></div> </div> |