Skip to content

Commit

Permalink
Update ajax.lib.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 2, 2018
1 parent 044c54d commit ea119a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/ajax.lib.php
Expand Up @@ -377,7 +377,7 @@ function ajax_combobox($htmlname, $events=array(), $minLengthToAutocomplete=0, $

// select2 disabled for smartphones with standard browser.
// TODO With select2 v4, it seems ok, except that responsive style on table become crazy when scrolling at end of array)
if (! empty($conf->browser->layout) and $conf->browser->layout == 'phone') return '';
if (! empty($conf->browser->layout) && $conf->browser->layout == 'phone') return '';

if (! empty($conf->global->MAIN_DISABLE_AJAX_COMBOX)) return '';
if (empty($conf->use_javascript_ajax)) return '';
Expand Down

0 comments on commit ea119a2

Please sign in to comment.