subscribe_current_user() JS is not easily reusable

Bug #721411 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
High
Graham Binns

Bug Description

At the moment the subscribe_current_user() JavaScript function (in lib/lp/bugs/javascript/bugtask_index_portlets.js) isn't very reusable because it's tightly coupled to the UI of the page. The actual functionality (adding a subscription at a given BugNotificationLevel) needs to be decoupled from the UI bits and bobs so that it can be reused as part of the mute button story.

See also bug 721400 and bug 721410. The first comment to bug 721400 has an alternate solution to this problem.

Gary Poster (gary)
description: updated
Graham Binns (gmb)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Revision history for this message
Graham Binns (gmb) wrote :

I've marked this Invalid since I think that I misunderstood the problem when I first filed it. I'll reopen it if necessary.

Changed in launchpad:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.