Browse Source

Changes in map script

master
Hariprasath S 2 months ago
parent
commit
1a7d441b44
  1. 26
      src/main/resources/templates/modules/callcenterqaqc/domesticwastecomplaints.html
  2. 30
      src/main/resources/templates/modules/callcenterqaqc/pgrcomplaints.html
  3. 26
      src/main/resources/templates/modules/vendors/streetVendorRequestForm.html
  4. 26
      src/main/resources/templates/modules/vendors/zonerequests.html

26
src/main/resources/templates/modules/callcenterqaqc/domesticwastecomplaints.html

@ -809,18 +809,7 @@
});
});
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
function validateName() {
@ -1354,6 +1343,19 @@
});
}
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
map.addListener("click", function (event) {
const clickedLatLng = event.latLng;

30
src/main/resources/templates/modules/callcenterqaqc/pgrcomplaints.html

@ -1266,22 +1266,7 @@
}); */
});
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
//for complaint group and complainttype wise options dropdown api
@ -1569,6 +1554,19 @@
});
}
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
map.addListener("click", function (event) {
const clickedLatLng = event.latLng;

26
src/main/resources/templates/modules/vendors/streetVendorRequestForm.html

@ -1090,6 +1090,19 @@
});
}
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
map.addListener("click", function (event) {
const clickedLatLng = event.latLng;
@ -1396,18 +1409,7 @@
});
});
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
function proceedSubmission(mobileNumber, formData) {
$('#pageLoader').show();

26
src/main/resources/templates/modules/vendors/zonerequests.html

@ -1045,6 +1045,19 @@
});
}
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
map.addListener("click", function (event) {
const clickedLatLng = event.latLng;
@ -1341,18 +1354,7 @@
});
document.addEventListener("click", function (e) {
if (
!suggestions.contains(e.target) &&
e.target !== input
) {
suggestions.style.display = "none";
}
});
// Validation helpers
function validatePhoneNumber(input) {

Loading…
Cancel
Save