mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Add css class to add contact button in url-email widget, and make the icon size 16x16
This commit is contained in:
parent
ff626a812b
commit
ea57df4765
@ -331,7 +331,8 @@ var et2_url_ro = et2_valueWidget.extend([et2_IDetachedDOM],
|
||||
'presets[email]': jQuery(this).text()
|
||||
};
|
||||
|
||||
return jQuery('<a href="#" title="'+egw.lang('Add a new contact')+'"><img src="'+egw.image("new") +'" style="height:12px;width:12px"/></a>')
|
||||
return jQuery('<a href="#" class= "et2_url_email_contactPlus" title="'+egw.lang('Add a new contact')+'"><img src="'
|
||||
+egw.image("new") +'"/></a>')
|
||||
.on('click', function() {
|
||||
egw.open('','addressbook','add',extra);
|
||||
});
|
||||
|
@ -162,6 +162,10 @@ a.et2_url.phone {
|
||||
a.et2_url.url {
|
||||
background-image: url(images/url.png);
|
||||
}
|
||||
.et2_url_email_contactPlus >img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.et2_email_popup {
|
||||
border:0 !important;
|
||||
padding: 0 !important;
|
||||
|
Loading…
Reference in New Issue
Block a user