forked from extern/egroupware
Fix js error in smime add certificate dialog
This commit is contained in:
parent
b6d05bb9e1
commit
005aaa0ea2
@ -5987,6 +5987,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
mail_container.classList.add((data.class='smime_cert_unknownemail'));
|
mail_container.classList.add((data.class='smime_cert_unknownemail'));
|
||||||
smime_signature.set_class(data.class);
|
smime_signature.set_class(data.class);
|
||||||
}
|
}
|
||||||
|
data.class = data.class ? data.class : "";
|
||||||
jQuery(smime_signature.getDOMNode(), smime_encryption.getDOMNode()).off().on('click',function(){
|
jQuery(smime_signature.getDOMNode(), smime_encryption.getDOMNode()).off().on('click',function(){
|
||||||
self.smime_certAddToContact(data,true);
|
self.smime_certAddToContact(data,true);
|
||||||
}).addClass('et2_clickable');
|
}).addClass('et2_clickable');
|
||||||
@ -6044,6 +6045,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
'presets[org_name]': _metadata.certDetails.subject.organizationName,
|
'presets[org_name]': _metadata.certDetails.subject.organizationName,
|
||||||
'presets[org_unit]': _metadata.certDetails.subject.organizationUnitName
|
'presets[org_unit]': _metadata.certDetails.subject.organizationUnitName
|
||||||
};
|
};
|
||||||
|
content.class="";
|
||||||
et2_createWidget("dialog",
|
et2_createWidget("dialog",
|
||||||
{
|
{
|
||||||
callback: function(_button_id, _value)
|
callback: function(_button_id, _value)
|
||||||
|
Loading…
Reference in New Issue
Block a user