From 31b73898af536da873e12cc0cf6f3a4ee7b7d9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 5 Oct 2007 09:35:09 +0000 Subject: #157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page. --- modules/upload/upload.module | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/upload') diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 7fefac962..bfe39fcaa 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -499,8 +499,10 @@ function _upload_form($node) { '#type' => 'submit', '#value' => t('Attach'), '#name' => 'attach', - '#ahah_path' => 'upload/js', - '#ahah_wrapper' => 'attach-wrapper', + '#ahah' => array( + 'path' => 'upload/js', + 'wrapper' => 'attach-wrapper', + ), '#submit' => array('node_form_submit_build_node'), ); } -- cgit v1.2.3