Expose browser-generated events to Athena event handlers
Bug #806545 reported by
Jonathan Jacobs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nevow |
In Progress
|
Medium
|
Jonathan Jacobs |
Bug Description
There is currently no way to access the event object from an Athena event handler. Quirksmode has a lot of information [1] that can be useful for implementing this in the "inline event handler" model that Athena currently employs.
It would be worth wrapping the event objects to expose a useful subset of functionality in a cross-browser way.
Related branches
lp://staging/~divmod-dev/divmod.org/athena-events-806545
Ready for review
for merging
into
lp://staging/divmod.org
- Divmod-dev: Pending requested
-
Diff: 989 lines (+870/-13)8 files modifiedNevow/nevow/athena.py (+1/-1)
Nevow/nevow/js/Divmod/Runtime/__init__.js (+33/-0)
Nevow/nevow/js/Divmod/Test/TestRuntime.js (+94/-0)
Nevow/nevow/js/Nevow/Athena/__init__.js (+231/-11)
Nevow/nevow/js/Nevow/Test/TestEvent.js (+504/-0)
Nevow/nevow/js/Nevow/Test/TestWidget.js (+2/-0)
Nevow/nevow/test/test_athena.py (+1/-1)
Nevow/nevow/test/test_javascript.py (+4/-0)
Changed in nevow: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jonathan Jacobs (jjacobs) |
To post a comment you must log in.