Task #1221 - Bouton Fermer dans les boîtes de dialogues
#1221 : add hide / close button
This commit is contained in:
parent
f01674f28a
commit
8fc8123cea
8 changed files with 54 additions and 2 deletions
|
|
@ -423,6 +423,21 @@ class HtmlInput
|
|||
|
||||
return $html;
|
||||
|
||||
}
|
||||
/**
|
||||
* @brief Hide the HTML popup
|
||||
* @param type $div_name
|
||||
* @return type
|
||||
*/
|
||||
static function button_hide($div_name)
|
||||
{
|
||||
$a=new IButton('Fermer');
|
||||
$a->label=_("Fermer");
|
||||
$a->javascript="$('".$div_name."').hide()";
|
||||
$html=$a->input();
|
||||
|
||||
return $html;
|
||||
|
||||
}
|
||||
/**
|
||||
* Return a html string with an anchor which close the inside popup. (top-right corner)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue