File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
GiftMessage/view/frontend/web/js/view Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,16 @@ define([
31
31
32
32
this . itemId = this . itemId || 'orderLevel' ;
33
33
model = new GiftMessage ( this . itemId ) ;
34
- giftOptions . addOption ( model ) ;
35
34
this . model = model ;
35
+ this . isResultBlockVisible ( ) ;
36
+ giftOptions . addOption ( model ) ;
36
37
37
38
this . model . getObservable ( 'isClear' ) . subscribe ( function ( value ) {
38
39
if ( value == true ) { //eslint-disable-line eqeqeq
39
40
self . formBlockVisibility ( false ) ;
40
41
self . model . getObservable ( 'alreadyAdded' ) ( true ) ;
41
42
}
42
43
} ) ;
43
-
44
- this . isResultBlockVisible ( ) ;
45
44
} ,
46
45
47
46
/**
Original file line number Diff line number Diff line change 103
103
<click selector =" {{AdminProductGridSection.firstRow}}" stepKey =" clickOnProductPage" />
104
104
<waitForPageLoad stepKey =" waitForProductPageLoad" />
105
105
<!-- Disabled child configurable product -->
106
+ <scrollToTopOfPage stepKey =" scrollToShowEnableDisableControl" />
106
107
<click selector =" {{AdminProductFormSection.enableProductAttributeLabel}}" stepKey =" clickDisableProduct" />
107
108
<click selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" clickSaveProduct" />
108
109
<waitForPageLoad stepKey =" waitForProductPageSaved" />
You can’t perform that action at this time.
0 commit comments