/[drupal]/contributions/modules/filefield/filefield.module
ViewVC logotype

Diff of /contributions/modules/filefield/filefield.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.50.2.41, Thu Jul 31 15:08:14 2008 UTC revision 1.50.2.42, Fri Aug 1 05:32:49 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: filefield.module,v 1.50.2.40 2008/06/03 01:46:40 jpetso Exp $  // $Id: filefield.module,v 1.50.2.41 2008/07/31 15:08:14 dopry Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 860  function filefield_check_directory($dire Line 860  function filefield_check_directory($dire
860   * Menu callback for JavaScript-based uploads.   * Menu callback for JavaScript-based uploads.
861   */   */
862  function filefield_js() {  function filefield_js() {
863    
864    // Parse fieldname from submit button.    // Parse fieldname from submit button.
865    $matches = array();    $matches = array();
866    foreach(array_keys($_POST) as $key) {    foreach(array_keys($_POST) as $key) {
# Line 896  function filefield_js() { Line 897  function filefield_js() {
897    $output = theme('status_messages') . drupal_render($form);    $output = theme('status_messages') . drupal_render($form);
898    
899    // Send the updated file attachments form.    // Send the updated file attachments form.
900      $GLOBALS['devel_shutdown'] = false;
901    print drupal_to_js(array('status' => TRUE, 'data' => $output));    print drupal_to_js(array('status' => TRUE, 'data' => $output));
902    exit();    exit();
903  }  }

Legend:
Removed from v.1.50.2.41  
changed lines
  Added in v.1.50.2.42

  ViewVC Help
Powered by ViewVC 1.1.2