mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSform : Added comment to ajax_onAddFieldBtnClick() method
This commit is contained in:
parent
58474332e4
commit
a338b0af75
1 changed files with 7 additions and 0 deletions
|
@ -550,6 +550,13 @@ class LSform {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Méthode Ajax permetant de retourner le code HTML d'un élément du formulaire vide
|
||||||
|
*
|
||||||
|
* @param[in] &$data Variable de retour
|
||||||
|
*
|
||||||
|
* @retval void
|
||||||
|
**/
|
||||||
public static function ajax_onAddFieldBtnClick(&$data) {
|
public static function ajax_onAddFieldBtnClick(&$data) {
|
||||||
if ((isset($_REQUEST['attribute'])) && (isset($_REQUEST['objecttype'])) && (isset($_REQUEST['objectdn'])) && (isset($_REQUEST['idform'])) && (isset($_REQUEST['fieldId'])) ) {
|
if ((isset($_REQUEST['attribute'])) && (isset($_REQUEST['objecttype'])) && (isset($_REQUEST['objectdn'])) && (isset($_REQUEST['idform'])) && (isset($_REQUEST['fieldId'])) ) {
|
||||||
if (LSsession ::loadLSobject($_REQUEST['objecttype'])) {
|
if (LSsession ::loadLSobject($_REQUEST['objecttype'])) {
|
||||||
|
|
Loading…
Reference in a new issue