summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-09 11:01:00 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-09 11:01:00 +0000
commit509d570bbdc383c0d8b72c0ce5dd33fa4dc56560 (patch)
tree35792f1f17cd42af6324f6601fdd462ece47dbf5 /modules/upload
parent51b02213310345ed754d635cdd834faa415225cd (diff)
downloadbrdo-509d570bbdc383c0d8b72c0ce5dd33fa4dc56560.tar.gz
brdo-509d570bbdc383c0d8b72c0ce5dd33fa4dc56560.tar.bz2
#160039 by prakashp, chx and pwolanin: fix node saving:
- centralize/reuse some node form saving code - fix uploads without JS - fix reappearing teasers on node save
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index d56b5b967..0b32f29e2 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -493,7 +493,7 @@ function _upload_form($node) {
'#name' => 'attach',
'#ahah_path' => 'upload/js',
'#ahah_wrapper' => 'attach-wrapper',
- '#submit' => array(),
+ '#submit' => array('node_form_submit_build_node'),
);
}