From 85d33febc6b6b4de2d076d5bfaca9470a26c7b73 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 16 Jul 2018 13:34:20 +0200 Subject: [PATCH] Unset autocomplete_url for collab mime type exclusion pref to avoid account search --- filemanager/inc/class.filemanager_hooks.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index 44dcdb4bbd..7f6cd87e8e 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -268,8 +268,13 @@ class filemanager_hooks 'label' => lang('Excludes selected mime types'), 'help' => lang('Excludes selected mime types from being opened by editor'), 'name' => 'collab_excluded_mimes', - 'values' => $mimes, + 'values' => array(), 'default' => '', + 'attributes' => array( + 'autocompelete_url' => ' ', + 'autocomplete_params' => ' ', + 'select_options' => $mimes + ) ), 'merge_open_handler' => array( 'type' => 'select',