Merge lp://qastaging/~deryck/launchpad/dupe-portlet-click-fail into lp://qastaging/launchpad
Proposed by
Deryck Hodge
Status: | Merged |
---|---|
Approved by: | Deryck Hodge |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~deryck/launchpad/dupe-portlet-click-fail |
Merge into: | lp://qastaging/launchpad |
Diff against target: |
101 lines (+31/-5) 2 files modified
lib/canonical/launchpad/javascript/bugs/bugtask-index.js (+27/-3) lib/lp/bugs/windmill/tests/test_bug_inline_subscriber.py (+4/-2) |
To merge this branch: | bzr merge lp://qastaging/~deryck/launchpad/dupe-portlet-click-fail |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Review via email: mp+14875@code.qastaging.launchpad.net |
Commit message
Correctly hook up unsubscribe icons for onclick events after the duplicate subscribers portlet has loaded (or failed to load.)
To post a comment you must log in.
This is a fix for bug #482379. The unsubscribe icons in subscription
portlets were not being hooked up for handling onclick events. So
people could not unsubscribe inline.
This happened because of an update to load duplicate subscriptions from
a second XHR request (the direct subscribers load in the first XHR). So
this branch creates a new custom event to fire after the duplicate
subscriber list has loaded. If that load fails, a failure event fires
to make sure any unsub icons for direct subscribers are still hooked up.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ javascript/ bugs/bugtask- index.js bugs/windmill/ tests/test_ bug_inline_ subscriber. py
lib/canonical
lib/lp/
== JSLint notices == home/deryck/ canonical/ lp-branches/ dupe-portlet- click-fail/ lib/canonical/ launchpad/ javascript/ bugs/bugtask- index.js' .
jslint: No problem found in
'/data/
jslint: 1 file to lint.