filefield在firefox下上传文件出错http0error的解决办法

/*    '#ahah' => array( // with JavaScript
       'path' => 'filefield/ahah/'.   $element['#type_name'] .'/'. $element['#field_name'] .'/'. $element['#delta'],
       'wrapper' => $element['#id'] .'-ahah-wrapper',
       'method' => 'replace',
       'effect' => 'fade',
    ),
*/


what I did to work things out was :

   1. Just install the latest version of the Filefield module
   2. Open up filefield_widget.inc with a texteditor
   3. and comment out the lines above.


注释掉上述代码就可以.

你可能感兴趣的:(JavaScript,UP,firefox)