~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/javascript/widgets.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-21 22:17:38 UTC
  • mfrom: (13228.4.8 set-ppa-private)
  • Revision ID: launchpad@pqm.canonical.com-20110621221738-l68s7zrnalblik8l
[r=jcsackett][bug=724740] Provides facility to set a PPA private via
        the API

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            }
48
48
        }
49
49
        return li_title;
50
 
    },
51
 
 
52
 
    /**
53
 
     * Create the widget's HTML components.
54
 
     * <p>
55
 
     * This method is invoked after renderUI is invoked for the Widget class
56
 
     * using YUI's aop infrastructure.
57
 
     * </p>
58
 
     *
59
 
     * @method _renderUIPicker
60
 
     * @protected
61
 
     */
62
 
    _renderUIPicker: function() {
63
 
        Picker.superclass._renderUIPicker.apply(this, arguments);
64
 
        var body = this._batches_box.get('parentNode');
65
 
        body.removeChild(this._batches_box);
66
 
        this._results_box.insert(this._batches_box, 'after');
67
50
    }
68
51
});
69
52
 
101
84
 
102
85
    hide: function() {
103
86
        this.get('boundingBox').setStyle('display', 'none');
104
 
        this.constructor.superclass.hide.call(this);
105
87
    },
106
88
 
107
89
    show: function() {
108
90
        this.get('boundingBox').setStyle('display', 'block');
109
 
        this.constructor.superclass.show.call(this);
110
91
    },
111
92
 
112
93
    remove: function () {