public_html/layouts/basic/modules/Calendar/resources/Detail.min.js
'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("Calendar_Detail_Js",{deleteRecord:function deleteRecord(deleteRecordActionUrl){app.showConfirmModal({text:app.vtranslate("LBL_DELETE_CONFIRMATION"),confirmedCallback:function confirmedCallback(){app.showModalWindow($(".typeRemoveModal").clone(),function(container){container.find(".typeSavingBtn").on("click",function(e){var currentTarget=$(e.currentTarget);app.hideModalWindow(),AppConnector.request(deleteRecordActionUrl+"&typeRemove="+currentTarget.data("value")).done(function(data){!0==data.success?window.location.href=data.result:app.showNotify({text:data.error.message,type:"error"});});});});}});}},{});
//# sourceMappingURL=Detail.min.js.map