Advertisement
Guest User

Untitled

a guest
Aug 25th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. // don't call drupal_json()
  2. // print drupal_json(array('status' => TRUE, 'data' => $output));
  3. // send the updated file attachments form... .
  4. // ahah.js uses an iframe and the header output by drupal_json() causes
  5. // problems in some browsers.
  6. print drupal_to_js ( array ( 'status' => TRUE, 'data' => $output ) );
  7.  
  8. exit;
  9.  
  10. // don't call drupal_json()
  11. // print drupal_json(array('status' => TRUE, 'data' => $output));
  12. // send the updated file attachments form... .
  13. // ahah.js uses an iframe and the header output by drupal_json() causes
  14. // problems in some browsers.
  15. print drupal_to_js ( array ( 'status' => TRUE, 'data' => $output ) );
  16.  
  17. exit;
  18.  
  19. // don't call drupal_json()
  20. // print drupal_json(array('status' => TRUE, 'data' => $output));
  21. // send the updated file attachments form... .
  22. // ahah.js uses an iframe and the header output by drupal_json() causes
  23. // problems in some browsers.
  24. print drupal_to_js ( array ( 'status' => TRUE, 'data' => $output ) );
  25.  
  26. exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement