Skip to content

Commit 3c5e7dc

Browse files
author
Sergey Shvets
committed
Merge remote-tracking branch 'origin/MAGETWO-58793' into pr-2.0
2 parents 1bfa650 + 5adc4d6 commit 3c5e7dc

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

app/code/Magento/Ui/view/base/web/js/lib/step-wizard.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,9 @@ define([
184184
this.selectedStep(this.wizard.prev());
185185
},
186186
open: function () {
187-
var $form = $('[data-form=edit-product]');
188-
189-
if (!$form.valid()) {
190-
$form.data('validator').focusInvalid();
191-
} else {
192-
this.selectedStep(this.stepsNames.first());
193-
this.wizard = new Wizard(this.steps);
194-
$('[data-role=step-wizard-dialog]').trigger('openModal');
195-
}
187+
this.selectedStep(this.stepsNames.first());
188+
this.wizard = new Wizard(this.steps);
189+
$('[data-role=step-wizard-dialog]').trigger('openModal');
196190
},
197191
close: function () {
198192
$('[data-role=step-wizard-dialog]').trigger('closeModal');

0 commit comments

Comments
 (0)