From 8aa58344b012d34f870f67561bc4a6b5e3d6b194 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 2 Sep 2014 09:35:26 +0000 Subject: [PATCH] Add css class to add contact button in url-email widget, and make the icon size 16x16 --- etemplate/js/et2_widget_url.js | 3 ++- etemplate/templates/default/etemplate2.css | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_url.js b/etemplate/js/et2_widget_url.js index e9abd98ebd..2f87524830 100644 --- a/etemplate/js/et2_widget_url.js +++ b/etemplate/js/et2_widget_url.js @@ -331,7 +331,8 @@ var et2_url_ro = et2_valueWidget.extend([et2_IDetachedDOM], 'presets[email]': jQuery(this).text() }; - return jQuery('') + return jQuery('') .on('click', function() { egw.open('','addressbook','add',extra); }); diff --git a/etemplate/templates/default/etemplate2.css b/etemplate/templates/default/etemplate2.css index d306619065..5542059b96 100644 --- a/etemplate/templates/default/etemplate2.css +++ b/etemplate/templates/default/etemplate2.css @@ -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;