~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

Undo rename. Again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
920
920
    input.on('change', function(e) {
921
921
        var error_text = validator(input.get('value'));
922
922
        if (error_text !== null) {
923
 
            Y.lp.anim.red_flash({node: input}).run();
 
923
            Y.lazr.anim.red_flash({node: input}).run();
924
924
            error_container.setContent(error_text);
925
925
            overlay.field_errors[field_name] = true;
926
926
            // Accordion sets fixed height for the accordion item,
1760
1760
            wire_up_edit_links_for_filter(
1761
1761
                config, subscription_info, 0,
1762
1762
                filter_info, filter_id, anim_node);
1763
 
            Y.lp.anim.green_flash({node: anim_node}).run();
 
1763
            Y.lazr.anim.green_flash({node: anim_node}).run();
1764
1764
        } else {
1765
1765
            // Since there is no filter description to update we need another
1766
1766
            // way to tell the user that the subscription was sucessfully
1867
1867
}; // setup
1868
1868
 
1869
1869
}, '0.1', {requires: [
1870
 
    'dom', 'node', 'lp.anim', 'lazr.formoverlay', 'lazr.overlay',
 
1870
    'dom', 'node', 'lazr.anim', 'lazr.formoverlay', 'lazr.overlay',
1871
1871
    'lazr.effects', 'lp.app.errors', 'lp.client', 'gallery-accordion'
1872
1872
]});