public_html/layouts/basic/modules/OSSMailView/resources/Detail.min.js.map
{"version":3,"file":"Detail.min.js","sources":["Detail.js"],"sourcesContent":["/* {[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]} */\n'use strict';\n\nVtiger_Detail_Js(\n\t'OSSMailView_Detail_Js',\n\t{\n\t\tprintMail: function () {\n\t\t\tvar subject = $('#subject').val();\n\t\t\tvar from = $('#from_email').val();\n\t\t\tvar to = $('#to_email').val();\n\t\t\tvar cc = $('#cc_email').val();\n\t\t\tvar date = jQuery('#createdtime').val();\n\t\t\tvar body = $('#content').html();\n\t\t\tvar content = window.open();\n\t\t\tcontent.document.write('<b>' + app.vtranslate('Subject') + ': ' + subject + '</b><br />');\n\t\t\tcontent.document.write('<br />' + app.vtranslate('From') + ': ' + from + '<br />');\n\t\t\tcontent.document.write(app.vtranslate('To') + ' :' + to + '<br />');\n\t\t\tif (cc != null) {\n\t\t\t\tcontent.document.write(app.vtranslate('CC') + ': ' + cc + '<br />');\n\t\t\t}\n\t\t\tcontent.document.write(app.vtranslate('Date') + ': ' + date + '<br />');\n\t\t\tcontent.document.write('<hr/>' + body + '<br />');\n\t\t\tcontent.print();\n\t\t}\n\t},\n\t{\n\t\tregisterEvents: function () {\n\t\t\tthis._super();\n\t\t\tVtiger_Index_Js.registerMailButtons($('.detailViewContainer .js-btn-toolbar'));\n\t\t}\n\t}\n);\n"],"names":["Vtiger_Detail_Js","printMail","subject","$","val","from","to","cc","date","jQuery","body","html","content","window","open","document","write","app","vtranslate","print","registerEvents","_super","Vtiger_Index_Js","registerMailButtons"],"mappings":";;AAAA,kKACA,YAAY,CAEZA,gBAAgB,CACf,uBAAuB,CACvB,CACCC,SAAS,CAAE,SAAAA,SAAAA,EAAY,CAAA,IAClBC,OAAO,CAAGC,CAAC,CAAC,UAAU,CAAC,CAACC,GAAG,EAAE,CAC7BC,IAAI,CAAGF,CAAC,CAAC,aAAa,CAAC,CAACC,GAAG,EAAE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