diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-10 10:51:17 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-10 10:51:17 +0000 |
commit | 87bdc95bff527771e82986fdfb96b2d0e9a4af99 (patch) | |
tree | 4584c1e2007f9da280a89d71d302d2b5202a4148 /modules | |
parent | cf83099de10350adbd7868f729699e199a8d55c1 (diff) | |
download | brdo-87bdc95bff527771e82986fdfb96b2d0e9a4af99.tar.gz brdo-87bdc95bff527771e82986fdfb96b2d0e9a4af99.tar.bz2 |
#165013 by Eaton: fix image button behaviour by processing the right values coming in the request
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index c0b156e42..79a597e88 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -105,7 +105,7 @@ function system_elements() { // Inputs $type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#ahah_event' => 'submit', '#process' => array('form_expand_ahah')); $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => FALSE, '#ahah_event' => 'submit', '#process' => array('form_expand_ahah')); - $type['image_button'] = array('#input' => TRUE, '#button_type' => 'submit','#executes_submit_callback' => TRUE, '#ahah_event' => 'submit', '#process' => array('form_expand_ahah'), '#has_garbage_value' => TRUE, '#image' => NULL); + $type['image_button'] = array('#input' => TRUE, '#button_type' => 'submit','#executes_submit_callback' => TRUE, '#ahah_event' => 'submit', '#process' => array('form_expand_ahah'), '#return_value' => TRUE, '#has_garbage_value' => TRUE, '#src' => NULL); $type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE); $type['password'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128); $type['password_confirm'] = array('#input' => TRUE, '#process' => array('expand_password_confirm')); |