Fix some email addresses would not pre-fill address if you created a new contact from mail view From field

This commit is contained in:
nathangray 2016-10-19 09:00:38 -06:00
parent c2d1fe6d50
commit 0ca2094e2e

View File

@ -359,7 +359,7 @@ var et2_url_ro = (function(){ "use strict"; return et2_valueWidget.extend([et2_I
{
// Here we could do all sorts of things
var extra = {
'presets[email]': jQuery(this).attr('title')
'presets[email]': jQuery(this).attr('title') ? jQuery(this).attr('title') : jQuery(this).text()
};
return jQuery('<a href="#" class= "et2_url_email_contactPlus" title="'+egw.lang('Add a new contact')+'"><img src="'