Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Sep 2011 at 11:44 UTC
Updated:
1 Nov 2011 at 20:30 UTC
Jump to comment: Most recent file
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