~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=sinzui][bug=798772] Reorders elements in picker so batch nav is
        below results.

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');
50
67
    }
51
68
});
52
69