Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you look at the current code of ajax_view.js you will realize really fast, that it's hard to understand :)
One reason for this is that it's using a lot of nested anonymous functions.
Let's convert it to proper a proper js object, which is much nicer.
Comment | File | Size | Author |
---|---|---|---|
#4 | 1294636-objectify.patch | 6.1 KB | dawehner |
#2 | 1294636-objectify.patch | 7.72 KB | dawehner |
Comments
Comment #1
dawehnerAssign to myself.
Comment #2
dawehnerOkay here is the initial version.
Pager works nice as expected
Exposed form works in general but for a certain reason the behavior get's attached twice, so you will see two throbbers.
Comment #3
dawehneraaaaaaaarg
Comment #4
dawehnerThis line caused the double-execution. The patch now works really nice.
Comment #5
dawehnerTested again: pager, exposed form, exposed form block, glossary view and it worked fine.
So commited to 7.x-3.x