~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-04-25 17:46:32 UTC
  • mfrom: (12915.1.1 bug770217)
  • Revision ID: launchpad@pqm.canonical.com-20110425174632-eea1apitu05z78s2
[r=benji][bug=770217] structural subscriptions should trigger
        appropriate description and options on bug's +subscriptions page

Show diffs side-by-side

added added

removed removed

Lines of Context:
707
707
    var reasons = namespace._reasons;
708
708
    var reductions = [];
709
709
    var increases = [];
710
 
    if (info.count === 0) {
 
710
    if (info.count === 0 && !has_structural_subscriptions()) {
711
711
        // The user has no subscriptions at all.
712
712
        reason = reasons.NOT_SUBSCRIBED;
713
713
        increases.push(action_ids.subscribe_all);