Problem/Motivation
I'm working on making the ctools Views Content module views ajax compatible (#2035643: Views ajax support for the views content display) while doing so I used Views Load More to test the integration.
The ajax part works nicely together but since the ajax commands are changed by the Views Content module there's the need to check for a different selector in the replace command.
This issue is just a reminder for the case #2035643: Views ajax support for the views content display is committed.
Proposed resolution
Added a switch block to decide which of the ajax commands has to be replaced by the Views Load More handling and check for the Views Content command selector too.
Remaining tasks
Reviews needed
User interface changes
None
API changes
None
Related Issues
#2035643: Views ajax support for the views content display
#2035657: More flexible / defensive ajax handling.
Comments
Comment #1
das-peter commentedRe-roll
Comment #2
das-peter commentedFixed re-roll
Comment #3
das-peter commentedFixed notice thrown for style plugins without the typoe option.
The change as seen in the interdiff should be added to the module in any case to prevent unnecessary notices.
Comment #4
das-peter commentedIntegrated other fixes and added fix for nested views output (see interdiff).
Comment #5
oxyc commentedReroll, also changed it into an if instead of a switch, mostly to not bloat the diff...
Comment #6
zalak.addweb commented