.shopmailtypeUiEditmailaddress()
Categories: UI
de_epages.shopmailtypeUiEditmailaddress(options)
Subclass: de_epages
Inherit: (Subclass: de_epages) .widget()
Plugin: de_epages.shopmailtype.ui.editmailaddress
Description: Attach simpledialog with a form with some email inputs as its content to the selected set of elements.
-
de_epages.shopmailtypeUiEditmailaddress(options)
version added: 6.15.0options A map of additional options pass to the method.
The de_epages.shopmailtypeUiEditmailaddress()
attaches simpledialog with a form with some email inputs as its content to the selected set of elements.
-
Attach shopmailtypeUiEditmailaddress to edit button passing along some options in data attribute.
HTML:
<input class="ep-width-70p Disabled-Edit" type="text" value=""TTester" <ttester@epages.com>" name="FROM" readonly="readonly"> <span class="CommandLinkSmall" id="ep-edit-FROM" data-de_epages-shopmailtype-ui-editmailaddress="{"name" : "FROM", "data":{"FROM":[{"email":"ttester@epages.com","name":"TTester"}]},"multiple":false,"showSetDefault":true,"wording":{"setDefault":"Use This Address As Default Sender","email":"E-mail address","name" : "Name", "deleteMail" : "Delete", "addMail" : "Add Email Address","apply":"Apply"}}"><span><span class="WithIcon Edit">Edit</span></span></span>
Code:
de_epages('#ep-edit-FROM').shopmailtypeUiEditmailaddress();