Open Johnny99211 opened 3 years ago
I'm getting an error when I try to load a categories' dropdown. The error occurs here:
a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest"); for (e in c) void 0 !== c[e] && f.setRequestHeader(e, c[e] + ""); f.send(a.hasContent && a.data || null), <---- here
The dropdown I'm talking about is in the user_listings.php file and is about some categories that are sent within a filter or something like this:
user_listings.php
$form->addField('primary_category_id','tree_select_expanding_radio',array('label'=>$PMDR->getLanguage('user_listings_primary_category'),'fieldset'=>'listing','options'=>array('type'=>'category_tree','closed'=>0,'filter'=>$product['categories'])));
It looks like the filter are the categories assigned to the product. If they are too many, the error occurs.
I'm getting an error when I try to load a categories' dropdown. The error occurs here:
The dropdown I'm talking about is in the
user_listings.php
file and is about some categories that are sent within a filter or something like this:$form->addField('primary_category_id','tree_select_expanding_radio',array('label'=>$PMDR->getLanguage('user_listings_primary_category'),'fieldset'=>'listing','options'=>array('type'=>'category_tree','closed'=>0,'filter'=>$product['categories'])));
It looks like the filter are the categories assigned to the product. If they are too many, the error occurs.