Skip to content

Commit

Permalink
New: Add option MAIN_DISABLE_AJAX_COMBOX
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 3, 2014
1 parent efcff80 commit 89ebb3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/core/lib/ajax.lib.php
Expand Up @@ -305,6 +305,7 @@ function ajax_combobox($htmlname, $event=array(), $minLengthToAutocomplete=0)
global $conf;

if (! empty($conf->browser->phone)) return ''; // combobox disabled for smartphones (does not works)
if (! empty($conf->global->MAIN_DISABLE_AJAX_COMBOX)) return '';

/* Some properties for combobox:
minLengthToAutocomplete: 2,
Expand Down

0 comments on commit 89ebb3c

Please sign in to comment.