Hello All -- When I'm in satchmo admin and trying to change an existing Product Variation or Configurable Product, my browser freezes up and I get a "Warning: Unresponsive script" dialog.
I have tracked down the cause of this, and it relates to the js_make_select_readonly template tag that is being used in "admin/product/change_form.html". The js output by this template tag loops through all the children of the passed-in html select searching for the currently selected item. This works fine in most cases, but it is too inefficient when your select has 20,000+ items in it, as my Product select does. (As an aside, I wonder how many folks out there are using satchmo with a product catalog of this magnitude?) Anyway, my quick fix is to simply remove the call to the js_make_select_readonly template tag in the "admin/product/change_form.html" template. This makes the product admin slightly less foolproof, but I can live with that for now. I will probably try to improve the js_make_select_readonly templatetag at some point -- making it more efficient so that it can handle selects w/ lots of items -- and if that happens I'll be sure to submit a patch. In the mean time, should I submit a ticket or anything like that? Or does anyone have any comments/thoughts? Regards, --Stuart -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
