| 1 |
<?php |
<?php |
| 2 |
// $Id: ahah_helper.module,v 1.2 2008/11/19 16:25:29 wimleers Exp $ |
// $Id: ahah_helper.module,v 1.3 2009/02/14 15:48:36 wimleers Exp $ |
| 3 |
|
|
| 4 |
|
|
| 5 |
define('AHAH_HELPER_CALLBACK_PATH', 'ahah_helper/'); |
define('AHAH_HELPER_CALLBACK_PATH', 'ahah_helper/'); |
| 142 |
// which file should be loaded. This is necessary because we'll use the form |
// which file should be loaded. This is necessary because we'll use the form |
| 143 |
// definition itself rather than the cached $form. |
// definition itself rather than the cached $form. |
| 144 |
if (isset($form_state['storage']['#ahah_helper']['file'])) { |
if (isset($form_state['storage']['#ahah_helper']['file'])) { |
| 145 |
require_once($form_state['storage']['#ahah_helper']['#file']); |
require_once($form_state['storage']['#ahah_helper']['file']); |
| 146 |
} |
} |
| 147 |
|
|
| 148 |
// If the form is being rebuilt due to something else than a pressed button, |
// If the form is being rebuilt due to something else than a pressed button, |