diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-15 11:22:34 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-15 11:22:34 +0000 |
commit | 6c3f2ef2cde8b9e9962d236ba8ada1bb56311ddd (patch) | |
tree | 0e8f42fac8be4f4ca4206fc35b92111b0f17909c | |
parent | d351a2218ab4e6f8ec44b2772912ba034943e8e6 (diff) | |
download | brdo-6c3f2ef2cde8b9e9962d236ba8ada1bb56311ddd.tar.gz brdo-6c3f2ef2cde8b9e9962d236ba8ada1bb56311ddd.tar.bz2 |
Fix JS upload after theme_button change.
-rw-r--r-- | modules/upload/upload.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 95adadbba..07187ee3b 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -798,7 +798,7 @@ function _upload_form($node) { '#suffix' => '</div>', ); $form['new']['upload'] = array('#type' => 'file', '#title' => t('Attach new file'), '#size' => 40); - $form['new']['attach'] = array('#type' => 'button', '#value' => t('Attach'), '#name' => 'attach', '#attributes' => array('id' => 'attach-button')); + $form['new']['attach'] = array('#type' => 'button', '#value' => t('Attach'), '#name' => 'attach', '#id' => 'attach-button'); // The class triggers the js upload behaviour. $form['attach-url'] = array('#type' => 'hidden', '#value' => url('upload/js', NULL, NULL, TRUE), '#attributes' => array('class' => 'upload')); } |