From 8d48ee17b9baa8795af1debd7f2fee6a423915e9 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Tue, 25 Apr 2006 20:46:57 +0000 Subject: #60338, better name for #form_submitted, patch by chx --- modules/system.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system.module') diff --git a/modules/system.module b/modules/system.module index 7e000f9f0..b675e3ce7 100644 --- a/modules/system.module +++ b/modules/system.module @@ -62,8 +62,8 @@ function system_elements() { // Inputs $type['checkbox'] = array('#input' => TRUE, '#return_value' => 1); - $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['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE); + $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => FALSE); $type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE); $type['password'] = array('#input' => TRUE, '#size' => 30); $type['password_confirm'] = array('#input' => TRUE, '#process' => array('expand_password_confirm' => array())); -- cgit v1.2.3