summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrel O\'Pry2008-08-11 21:00:07 (GMT)
committer Darrel O\'Pry2008-08-11 21:00:07 (GMT)
commit2068eb407bebec0dbf2e7f9b072a9c2c04ebd94d (patch)
treef9c95804422ac0c1338d4aaecc8cc2b330f95af3
parentf92ea3178f5c31edb97f3e2184fc0330ee555411 (diff)
dodge devel.module errors... I still really hate that I can't send the application/javascript content type..
I'm gonna track that bug down one day.
-rw-r--r--filefield.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/filefield.module b/filefield.module
index 6573555..a22ae1a 100644
--- a/filefield.module
+++ b/filefield.module
@@ -498,6 +498,7 @@ function filefield_js($type_name, $field_name, $delta) {
// For some reason, file uploads don't like drupal_json() with its manual
// setting of the text/javascript HTTP header. So use this one instead.
+ $GLOBALS['devel_shutdown'] = false;
print drupal_to_js(array('status' => TRUE, 'data' => $output));
exit;
}