File tree 2 files changed +4
-2
lines changed
SendFriend/view/frontend/templates
Theme/view/frontend/web/js 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 35
35
<div class="control">
36
36
<input name="recipients[email][<%- data._index_ %>]" title="<?= $ block ->escapeHtmlAttr (__ ('Email ' )) ?> "
37
37
id="recipients-email<%- data._index_ %>" type="email" class="input-text"
38
+ data-mage-init='{"mage/trim-input":{}}'
38
39
data-validate="{required:true, 'validate-email':true}"/>
39
40
</div>
40
41
</div>
72
73
<label for="sender-email" class="label"><span><?= $ block ->escapeHtml (__ ('Email ' )) ?> </span></label>
73
74
<div class="control">
74
75
<input name="sender[email]" value="<?= $ block ->escapeHtmlAttr ($ block ->getEmail ()) ?> "
75
- title="<?= $ block ->escapeHtmlAttr (__ ('Email ' )) ?> " id="sender-email" type="text" class="input-text"
76
+ title="<?= $ block ->escapeHtmlAttr (__ ('Email ' )) ?> " id="sender-email" type="email" class="input-text"
77
+ data-mage-init='{"mage/trim-input":{}}'
76
78
data-validate="{required:true, 'validate-email':true}"/>
77
79
</div>
78
80
</div>
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ define([
144
144
145
145
$ ( tmpl ) . appendTo ( row ) ;
146
146
147
- $ ( this . options . rowContainer ) . append ( row ) ;
147
+ $ ( this . options . rowContainer ) . append ( row ) . trigger ( 'contentUpdated' ) ;
148
148
149
149
row . addClass ( this . options . additionalRowClass ) ;
150
150
You can’t perform that action at this time.
0 commit comments