Location: PHPKode > projects > PHP Ajax Forms Framework > pajff/handlers/pajffok.php
<?php
/**
* Built-in OK modal dialog
* 
* <p>Event handling file</p>
* 
* {@link http://sourceforge.net/projects/pajff Project home}
* 
* @package PAjFF
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author Atanas Markov hide@address.com
* @version 0.0.2
* @copyright 2006 by Atanas Markov
*
* @subpackage pajffok
**/

/**
 * Event for OK button
 *
 * @param pajff_session $session
 * @param pajff_event $event
 * @return pajff_form The form that called the dialog
 */
function pajffokok($session,$event){
    $session->sessionform->closeForm();
    $result = new pajff_form('',null,$session->parentID());
    return $result;
}

?>
Return current item: PHP Ajax Forms Framework