You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I missing something? If not, just let me now, I can send you pull request. And If it's possible please provide more detailed example of knp.setAjaxLoadedContent(html); use.
I can understand setAjaxLoadedContent -> update -> getNextPage, but update seems to be uncomplete and condition:
//there is #elements_selector div in the response, which means//setAjaxLoadedContent is used
in ajax callback on lines 90-95 doesn't make sens to me, because whole clickListener is bind only to click event on loadMoreButton so it can't be reached after calling of setAjaxLoadedContent.
If you can, just let me know what did you try to achieve and maybe I would help with it.
The text was updated successfully, but these errors were encountered:
Hello,
there seems to be a problem with your last commit and I'm not sure about your code intentions on lines 90-95
Let's consider example below:
After loading more content on line 88 you find and extract another
<div id="elements">
from response and put it at the end so finally it looks like:It will be probably better to append not whole container, but only child elements on line 95:
Am I missing something? If not, just let me now, I can send you pull request. And If it's possible please provide more detailed example of
knp.setAjaxLoadedContent(html);
use.I can understand
setAjaxLoadedContent
->update
->getNextPage
, butupdate
seems to be uncomplete and condition:in ajax callback on lines 90-95 doesn't make sens to me, because whole
clickListener
is bind only to click event onloadMoreButton
so it can't be reached after calling ofsetAjaxLoadedContent
.If you can, just let me know what did you try to achieve and maybe I would help with it.
The text was updated successfully, but these errors were encountered: