~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/javascript/structural-subscription.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-09 09:23:38 UTC
  • mfrom: (14333.2.13 history-model)
  • Revision ID: launchpad@pqm.canonical.com-20111209092338-se7u5l0skqzaes1v
[r=jcsackett][bug=295214, 894836,
 898200] Keep sort button ob bug listing pages in sync with the
 displayed data

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
                .set('size', '50'))
576
576
            .append(Y.Node.create('<a/>')
577
577
                .set('target', 'help')
578
 
                .set('href', '/+help-bugs/structural-subscription-tags.html')
 
578
                .set('href', '/+help-registry/structural-subscription-tags.html')
579
579
                .addClass('sprite')
580
580
                .addClass('maybe')
581
581
                .append(Y.Node.create('<span/>')
779
779
        '  <dd>' +
780
780
        '    <input type="text" name="name">' +
781
781
        '    <a target="help" class="sprite maybe"' +
782
 
        '          href="/+help-bugs/structural-subscription-name.html">' +
783
 
        '&nbsp;' +
 
782
        '          href="/+help-registry/structural-subscription-name.html">&nbsp;' +
784
783
        '      <span class="invisible-link">Structural subscription' +
785
784
        '        description help</span></a> ' +
786
785
        '  </dd>' +
1353
1352
            .addClass('js-action')
1354
1353
            .addClass('mute-subscription'));
1355
1354
        var help = control.appendChild(Y.Node.create('<a/>')
1356
 
            .set('href', '/+help-bugs/structural-subscription-mute.html')
 
1355
            .set('href', '/+help-registry/structural-subscription-mute.html')
1357
1356
            .set('target', 'help')
1358
1357
            .addClass('sprite')
1359
1358
            .addClass('maybe')
1837
1836
    // Modify the menu-link-subscribe-to-bug-mail link to be visible.
1838
1837
    var link = Y.one(link_id);
1839
1838
    if (!Y.Lang.isValue(link)) {
1840
 
        Y.log('No structural subscription link found.', 'debug');
1841
 
        return;
 
1839
        Y.error('Link to set as the pop-up link not found.');
1842
1840
    }
1843
1841
    link.removeClass('invisible-link');
1844
1842
    link.addClass('visible-link');