From 5736cc3e94ea5d3fd64e76324c1edc9d356accc5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Nov 2005 08:21:08 +0000 Subject: - Patch #38349 by chx: form API bugfixes. --- modules/system/system.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index a2c6e5a11..6c37fd071 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -59,8 +59,8 @@ function system_elements() { // Inputs $type['checkbox'] = array('#input' => TRUE, '#return_value' => 1); - $type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#execute' => TRUE); - $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#execute' => FALSE); + $type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => TRUE); + $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => FALSE); $type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE); $type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); -- cgit v1.2.3