~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/javascript/bugtask_index.js

[r=benji][bug=814414,
        819401] Adds the privacy ribbon notification to private branches and
        private merge proposals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
namespace.setup_bugtask_index = function() {
43
43
    /*
44
 
     * Display the privacy notification if the bug is private
45
 
     */
46
 
 
47
 
    Y.on("domready", function () {
48
 
        if (Y.one(document.body).hasClass('private')) {
49
 
            Y.lp.app.privacy.display_privacy_notification();
50
 
        }
51
 
    });
52
 
 
53
 
    /*
54
44
     * Check the page for links related to overlay forms and request the HTML
55
45
     * for these forms.
56
46
     */