ahah - 'Http error 0' when loading dynamic form elements in drupal 6, when an upload field has a file selected -
ahah - 'Http error 0' when loading dynamic form elements in drupal 6, when an upload field has a file selected -
i have custom form implemented in custom module in drupal 6. form contains upload field, textfield , select dropdown. when dropdown fires alter event, 2 textfields loaded dynamically below dropdown through drupal ahah. based largely on: http://drupal.org/node/331941 form functions correctly.
however, if happen browse file upload field , alter dropdown, nasty 'http 0 error'. note: not submitting form. selecting file upload , changing dropdown fire alter event. problem much like: http://drupal.org/node/399676 solution provided in same thread: http://drupal.org/node/399676#comment-1438662 doesn't work me.
i changed drupal_json phone call drupal_get_js phone call mentioned in solution comment above, error alert containing json.
i believe problem headers set drupal_json seen in definition here: http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_json/6
any help much appreciated.
i ran @ 1 point. there bunch of threads around saying has apc .. me fixed changing progress indicator on file field "bar progress meter" "throbber" under file field settings
drupal ahah
Comments
Post a Comment