diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-15 14:07:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-15 14:07:30 +0000 |
commit | f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a (patch) | |
tree | 771d33dbec4ead4d7a3a20022dbbdd669bd32691 /modules/file | |
parent | dbac31e066a95983c6a20d9cf9c69f048bb12ead (diff) | |
download | brdo-f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a.tar.gz brdo-f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a.tar.bz2 |
- Patch #599804 by effulgentsia, catch: unify page, AJAX 'path', and AJAX 'callback' callbacks. Oh my, this is the beginning of something big.
Diffstat (limited to 'modules/file')
-rw-r--r-- | modules/file/file.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/file/file.module b/modules/file/file.module index 9928b1887..fa8330af4 100644 --- a/modules/file/file.module +++ b/modules/file/file.module @@ -17,11 +17,13 @@ function file_menu() { $items['file/ajax'] = array( 'page callback' => 'file_ajax_upload', + 'delivery callback' => 'ajax_deliver', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, ); $items['file/progress'] = array( 'page callback' => 'file_ajax_progress', + 'delivery callback' => 'ajax_deliver', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, ); |