Cocoa (
momijizukamori) wrote in
dw_dev2014-06-29 05:15 pm
new style search - in need of Javascript help (probably)
So the new style search has been almost beta-ready on my hack for a while now (NB: you will need an account on my hack to see it), but I've been stuck on a front-end problem. The search runs, returns all the matching themes in the database - except when you click to look at the next page of themes (or any page other than the first returned) everything resets and shows none of the themes. I think this is a JS/AJAX-y thing with the inline display of new content but Javascript is basically arcane magic to me, so I'm not sure. The branch is up to date on Github.

no subject
Gotcha. And it doesn't help that this uses the old libraries so is particularly hard to work with. Hmmm.
Okay so basically when you click the link, it does a GET request to htdocs/tools/endpoints/widget.bml. Try debugging what gets posted/where that gets passed into; hopefully that helps!