~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/templates/bugtask-index.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-17 15:12:34 UTC
  • mfrom: (13251.1.3 anon-subscribers-list)
  • Revision ID: launchpad@pqm.canonical.com-20110617151234-lepwpmxwj3b8rzxe
[r=adeuring][bug=798622] Fix loading of bug subscribers for anonymous
        visitors of a bug page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
                Y.lp.code.branchmergeproposal.diff.connect_diff_links();
41
41
            }, window);
42
42
            Y.on('domready', function() {
 
43
                var bug = { self_link: LP.cache.context.bug_link,
 
44
                            web_link: LP.cache.context.web_link };
43
45
                LP.cache.comment_context = LP.cache.bug;
44
46
                Y.lp.comments.hide.setup_hide_controls();
45
47
                var sl = new Y.lp.bugs.subscribers_list.BugSubscribersLoader({
46
48
                    container_box: '#other-bug-subscribers',
47
 
                    bug: LP.cache.bug,
 
49
                    bug: bug,
48
50
                    subscribers_details_view:
49
51
                        '/+bug-portlet-subscribers-details',
50
52
                    subscribe_someone_else_link: '.menu-link-addsubscriber'