|
|
|
@ -264,6 +264,7 @@ function setWithinAlert(leafletId) {
|
|
|
|
|
} else {
|
|
|
|
|
var ptrn = /(?:<am\:description>)(.*)(?:<\/am\:description>)/g;
|
|
|
|
|
var errorTxt;
|
|
|
|
|
var result = (ptrn.exec(data));
|
|
|
|
|
if (result) {
|
|
|
|
|
errorTxt = result.length > 1 ? result[1] : data;
|
|
|
|
|
} else {
|
|
|
|
@ -320,6 +321,7 @@ function setExitAlert(leafletId) {
|
|
|
|
|
} else {
|
|
|
|
|
var ptrn = /(?:<am\:description>)(.*)(?:<\/am\:description>)/g;
|
|
|
|
|
var errorTxt;
|
|
|
|
|
var result = (ptrn.exec(data));
|
|
|
|
|
if (result) {
|
|
|
|
|
errorTxt = result.length > 1 ? result[1] : data;
|
|
|
|
|
} else {
|
|
|
|
@ -391,6 +393,7 @@ function setStationeryAlert(leafletId) {
|
|
|
|
|
} else {
|
|
|
|
|
var ptrn = /(?:<am\:description>)(.*)(?:<\/am\:description>)/g;
|
|
|
|
|
var errorTxt;
|
|
|
|
|
var result = (ptrn.exec(data));
|
|
|
|
|
if (result) {
|
|
|
|
|
errorTxt = result.length > 1 ? result[1] : data;
|
|
|
|
|
} else {
|
|
|
|
@ -499,6 +502,7 @@ function setTrafficAlert(leafletId) {
|
|
|
|
|
} else {
|
|
|
|
|
var ptrn = /(?:<am\:description>)(.*)(?:<\/am\:description>)/g;
|
|
|
|
|
var errorTxt;
|
|
|
|
|
var result = (ptrn.exec(data));
|
|
|
|
|
if (result) {
|
|
|
|
|
errorTxt = result.length > 1 ? result[1] : data;
|
|
|
|
|
} else {
|
|
|
|
@ -603,6 +607,7 @@ function setProximityAlert() {
|
|
|
|
|
} else {
|
|
|
|
|
var ptrn = /(?:<am\:description>)(.*)(?:<\/am\:description>)/g;
|
|
|
|
|
var errorTxt;
|
|
|
|
|
var result = (ptrn.exec(data));
|
|
|
|
|
if (result) {
|
|
|
|
|
errorTxt = result.length > 1 ? result[1] : data;
|
|
|
|
|
} else {
|
|
|
|
|