This commit is contained in:
Laurent Destailleur 2011-07-28 18:57:23 +00:00
parent c705bac291
commit 1971ef875e

View File

@ -21,7 +21,7 @@
/** /**
* \file htdocs/lib/ajax.lib.php * \file htdocs/lib/ajax.lib.php
* \brief Page called by Ajax request for produts * \brief Page called by Ajax request for produts
* \version $Id: ajax.lib.php,v 1.58 2011/07/10 18:24:18 hregis Exp $ * \version $Id: ajax.lib.php,v 1.59 2011/07/28 18:57:23 eldy Exp $
*/ */
@ -201,7 +201,10 @@ function ajax_dialog($title,$message,$w=350,$h=150)
} }
/** /**
* Convert combox * Convert a select html field into an ajax combobox
*
* @param htmlname Name of html field
* @return string Return html string to convert a select field into a combo
*/ */
function ajax_combobox($htmlname) function ajax_combobox($htmlname)
{ {
@ -218,6 +221,7 @@ function ajax_combobox($htmlname)
/** /**
* On/off button for constant * On/off button for constant
*
* @param code Name of constant * @param code Name of constant
* @param input Input element * @param input Input element
* TODO add different method for other input (show/hide, disable, ..) * TODO add different method for other input (show/hide, disable, ..)