Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // don't call drupal_json()
- // print drupal_json(array('status' => TRUE, 'data' => $output));
- // send the updated file attachments form... .
- // ahah.js uses an iframe and the header output by drupal_json() causes
- // problems in some browsers.
- print drupal_to_js ( array ( 'status' => TRUE, 'data' => $output ) );
- exit;
- // don't call drupal_json()
- // print drupal_json(array('status' => TRUE, 'data' => $output));
- // send the updated file attachments form... .
- // ahah.js uses an iframe and the header output by drupal_json() causes
- // problems in some browsers.
- print drupal_to_js ( array ( 'status' => TRUE, 'data' => $output ) );
- exit;
- // don't call drupal_json()
- // print drupal_json(array('status' => TRUE, 'data' => $output));
- // send the updated file attachments form... .
- // ahah.js uses an iframe and the header output by drupal_json() causes
- // problems in some browsers.
- print drupal_to_js ( array ( 'status' => TRUE, 'data' => $output ) );
- exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement