diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-02-05 19:04:58 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-02-05 19:04:58 +0000 |
commit | d38429248ee2cbaa442e396f251b1781acbc0d66 (patch) | |
tree | fb04fcaf6c118752902bc8d4a18ec763e3d9c4da /modules/upload | |
parent | afde65151c2e3807f8879fd0fe2ecd1cdda9f050 (diff) | |
download | brdo-d38429248ee2cbaa442e396f251b1781acbc0d66.tar.gz brdo-d38429248ee2cbaa442e396f251b1781acbc0d66.tar.bz2 |
- #47510: Show JavaScript alert when PHP errors occur
Diffstat (limited to 'modules/upload')
-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 201c455d4..e64f2a26d 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -543,6 +543,6 @@ function upload_js() { $output = theme('status_messages') . form_render($form); // We send the updated file attachments form. - print drupal_call_js('window.parent.iframeHandler', $output); + print drupal_to_js(array('status' => TRUE, 'data' => $output)); exit; } |