This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
SendFriend/view/frontend/templates
Theme/view/frontend/web/js Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3535 <div class="control">
3636 <input name="recipients[email][<%- data._index_ %>]" title="<?= $ block ->escapeHtmlAttr (__ ('Email ' )) ?> "
3737 id="recipients-email<%- data._index_ %>" type="email" class="input-text"
38+ data-mage-init='{"mage/trim-input":{}}'
3839 data-validate="{required:true, 'validate-email':true}"/>
3940 </div>
4041 </div>
7273 <label for="sender-email" class="label"><span><?= $ block ->escapeHtml (__ ('Email ' )) ?> </span></label>
7374 <div class="control">
7475 <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":{}}'
7678 data-validate="{required:true, 'validate-email':true}"/>
7779 </div>
7880 </div>
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ define([
144144
145145 $ ( tmpl ) . appendTo ( row ) ;
146146
147- $ ( this . options . rowContainer ) . append ( row ) ;
147+ $ ( this . options . rowContainer ) . append ( row ) . trigger ( 'contentUpdated' ) ;
148148
149149 row . addClass ( this . options . additionalRowClass ) ;
150150
You can’t perform that action at this time.
0 commit comments