YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/OSSMailView/resources/Detail.min.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */"use strict";Vtiger_Detail_Js("OSSMailView_Detail_Js",{printMail:function printMail(){var subject=$("#subject").val(),from=$("#from_email").val(),to=$("#to_email").val(),cc=$("#cc_email").val(),date=jQuery("#createdtime").val(),body=$("#content").html(),content=window.open();content.document.write("<b>"+app.vtranslate("Subject")+": "+subject+"</b><br />"),content.document.write("<br />"+app.vtranslate("From")+": "+from+"<br />"),content.document.write(app.vtranslate("To")+" :"+to+"<br />"),null!=cc&&content.document.write(app.vtranslate("CC")+": "+cc+"<br />"),content.document.write(app.vtranslate("Date")+": "+date+"<br />"),content.document.write("<hr/>"+body+"<br />"),content.print();}},{registerEvents:function registerEvents(){this._super(),Vtiger_Index_Js.registerMailButtons($(".detailViewContainer .js-btn-toolbar"));}});
//# sourceMappingURL=Detail.min.js.map