HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/build/public/add_contact_js.7138fc6bd2c5c820b209.js
/*! For license information please see add_contact_js.7138fc6bd2c5c820b209.js.LICENSE.txt */
(()=>{var __webpack_modules__={"./buyercall/assets/scripts/mobile/add_contact.js":()=>{eval('$(function () {\n  $("#back-to-contact").attr("href", "/mobile/contact_leads/detail" + location.search);\n  $("input[name=phonenumber_1]").mask("(000) 000-0000");\n  $("input[name=phonenumber_2]").mask("(000) 000-0000");\n  $("input[name=zip]").mask("00000");\n});\n$(".save-btn").on("click", function () {\n  data = $("#add-contact-form").serialize();\n  $.ajax({\n    type: "POST",\n    url: location.href,\n    data: $("#add-contact-form").serialize(),\n    success: function success(result) {\n      if (result.status) {\n        location.href = "/mobile/contact_leads/detail" + location.search;\n      } else {\n        $("#error-msg").text(result.error);\n        $("#validationError").modal(\'show\');\n      }\n    }\n  });\n});\n\n//# sourceURL=webpack:///./buyercall/assets/scripts/mobile/add_contact.js?')}},__webpack_exports__={};__webpack_modules__["./buyercall/assets/scripts/mobile/add_contact.js"]()})();