YetiForceCompany/YetiForceCRM

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

Summary

Maintainability
Test Coverage
{"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'Calendar_Detail_Js',\n\t{\n\t\tdeleteRecord: function (deleteRecordActionUrl) {\n\t\t\tapp.showConfirmModal({\n\t\t\t\ttext: app.vtranslate('LBL_DELETE_CONFIRMATION'),\n\t\t\t\tconfirmedCallback: () => {\n\t\t\t\t\tapp.showModalWindow($('.typeRemoveModal').clone(), function (container) {\n\t\t\t\t\t\tcontainer.find('.typeSavingBtn').on('click', function (e) {\n\t\t\t\t\t\t\tvar currentTarget = $(e.currentTarget);\n\t\t\t\t\t\t\tapp.hideModalWindow();\n\t\t\t\t\t\t\tAppConnector.request(deleteRecordActionUrl + '&typeRemove=' + currentTarget.data('value')).done(function (\n\t\t\t\t\t\t\t\tdata\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tif (data.success == true) {\n\t\t\t\t\t\t\t\t\twindow.location.href = data.result;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tapp.showNotify({\n\t\t\t\t\t\t\t\t\t\ttext: data.error.message,\n\t\t\t\t\t\t\t\t\t\ttype: 'error'\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\t{}\n);\n"],"names":["Vtiger_Detail_Js","deleteRecord","deleteRecordActionUrl","app","showConfirmModal","text","vtranslate","confirmedCallback","showModalWindow","$","clone","container","find","on","e","currentTarget","hideModalWindow","AppConnector","request","data","done","success","window","location","href","result","showNotify","error","message","type"],"mappings":";;AAAA,kKACA,YAAY,CAEZA,gBAAgB,CACf,oBAAoB,CACpB,CACCC,YAAY,CAAE,SAAAA,YAAUC,CAAAA,qBAAqB,CAAE,CAC9CC,GAAG,CAACC,gBAAgB,CAAC,CACpBC,IAAI,CAAEF,GAAG,CAACG,UAAU,CAAC,yBAAyB,CAAC,CAC/CC,iBAAiB,CAAE,SAAAA,iBAAAA,EAAM,CACxBJ,GAAG,CAACK,eAAe,CAACC,CAAC,CAAC,kBAAkB,CAAC,CAACC,KAAK,EAAE,CAAE,SAAUC,SAAS,CAAE,CACvEA,SAAS,CAACC,IAAI,CAAC,gBAAgB,CAAC,CAACC,EAAE,CAAC,OAAO,CAAE,SAAUC,CAAC,CAAE,CACzD,IAAIC,aAAa,CAAGN,CAAC,CAACK,CAAC,CAACC,aAAa,CAAC,CACtCZ,GAAG,CAACa,eAAe,EAAE,CACrBC,YAAY,CAACC,OAAO,CAAChB,qBAAqB,CAAG,cAAc,CAAGa,aAAa,CAACI,IAAI,CAAC,OAAO,CAAC,CAAC,CAACC,IAAI,CAAC,SAC/FD,IAAI,CACH,CACG,CAAAA,CAAAA,EAAAA,IAAI,CAACE,OAAe,CACvBC,MAAM,CAACC,QAAQ,CAACC,IAAI,CAAGL,IAAI,CAACM,MAAM,CAElCtB,GAAG,CAACuB,UAAU,CAAC,CACdrB,IAAI,CAAEc,IAAI,CAACQ,KAAK,CAACC,OAAO,CACxBC,IAAI,CAAE,OACP,CAAC,EAEH,CAAC,EACF,CAAC,EACF,CAAC,EACF,CACD,CAAC,EACF,CACD,CAAC,CACD,EACD,CAAC;;"}