Skip to content
Snippets Groups Projects
Commit fee958ea authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add comments

parent 696a97db
Branches
Tags
No related merge requests found
...@@ -310,6 +310,20 @@ function ajax_combobox($htmlname, $event=array(), $minLengthToAutocomplete=0) ...@@ -310,6 +310,20 @@ function ajax_combobox($htmlname, $event=array(), $minLengthToAutocomplete=0)
if (! empty($conf->browser->phone)) return ''; // combobox disabled for smartphones (does not works) if (! empty($conf->browser->phone)) return ''; // combobox disabled for smartphones (does not works)
/* Some properties for combobox:
minLengthToAutocomplete: 2,
comboboxContainerClass: "comboboxContainer",
comboboxValueContainerClass: "comboboxValueContainer",
comboboxValueContentClass: "comboboxValueContent",
comboboxDropDownClass: "comboboxDropDownContainer",
comboboxDropDownButtonClass: "comboboxDropDownButton",
comboboxDropDownItemClass: "comboboxItem",
comboboxDropDownItemHoverClass: "comboboxItemHover",
comboboxDropDownGroupItemHeaderClass: "comboboxGroupItemHeader",
comboboxDropDownGroupItemContainerClass: "comboboxGroupItemContainer",
animationType: "slide",
width: "500px" */
$msg = '<script type="text/javascript"> $msg = '<script type="text/javascript">
$(function() { $(function() {
$("#'.$htmlname.'").combobox({ $("#'.$htmlname.'").combobox({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment