~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/javascript/distroseries/initseries.js

Merged bug-824435-failure-reporting-2 into bug-824435-failure-reporting-3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
                    self.hideErrors();
84
84
                    self.showSpinner();
85
85
                },
86
 
                success: Y.bind(this.success, this),
87
 
                failure: this.error_handler.getFailureHandler(),
88
 
                end: Y.bind(this.hideSpinner, this)
 
86
                success: function() {
 
87
                    self.hideSpinner();
 
88
                    self.success();
 
89
                },
 
90
                failure: this.error_handler.getFailureHandler()
89
91
            },
90
92
            parameters: {
91
93
                name: this.context.name,
220
222
            .set("choices", [
221
223
                {text: "Copy Source and Rebuild", value: "rebuild"},
222
224
                {text: "Copy Source and Binaries", value: "copy"}])
223
 
            .set("choice", "Copy Source and Binaries")
 
225
            .set("choice", "copy")
224
226
            .render(form_table_body);
225
227
    var form_actions =
226
228
        new DeriveDistroSeriesActionsWidget({