+ {
+ var curStep = this.steps.eq($this.curStepIdx);
+ var step = this.get_step(curStep);
+ var plugin = this.get_plugin(step);
+
+ /* If the plugin has a validate method, trigger it and wait for
+ * callback */
+ if (plugin.validate) {
+ /* Trigger validation code and wait for callback */
+ // XXX We should inform the user about progress and disable buttons
+ plugin.validate(this.validate_callback);
+ return;
+ }
+
+ /* Otherwise, proceed to next step */
+ this.GoToNextStep();
+ }
+
+ this.GoToNextStep = function()