forked from extern/egroupware
Add css class to add contact button in url-email widget, and make the icon size 16x16
This commit is contained in:
parent
e7bc170c4e
commit
8aa58344b0
@ -331,7 +331,8 @@ var et2_url_ro = et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
'presets[email]': jQuery(this).text()
|
'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() {
|
.on('click', function() {
|
||||||
egw.open('','addressbook','add',extra);
|
egw.open('','addressbook','add',extra);
|
||||||
});
|
});
|
||||||
|
@ -162,6 +162,10 @@ a.et2_url.phone {
|
|||||||
a.et2_url.url {
|
a.et2_url.url {
|
||||||
background-image: url(images/url.png);
|
background-image: url(images/url.png);
|
||||||
}
|
}
|
||||||
|
.et2_url_email_contactPlus >img {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
.et2_email_popup {
|
.et2_email_popup {
|
||||||
border:0 !important;
|
border:0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user