X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMETA-INF%2Fresources%2Fpz2utils%2Flisteners.js;h=b46014e7e4a3e1888e84220169d3d97b3b178640;hb=f969f221326787617bd4a8766bed1942d010eae0;hp=3bbfa2b26eb812d63f9eabe313e1f8475d35bebe;hpb=5b978e6919af8e8548337cd1ab1ce1df625f74f1;p=mkjsf-moved-to-github.git diff --git a/src/META-INF/resources/pz2utils/listeners.js b/src/META-INF/resources/pz2utils/listeners.js index 3bbfa2b..b46014e 100644 --- a/src/META-INF/resources/pz2utils/listeners.js +++ b/src/META-INF/resources/pz2utils/listeners.js @@ -104,7 +104,7 @@ function errorListener(data) { if (data.source.name === "pz2watch:activeclientsField") { alert("This occurred when polling: [" + data.description - + "]. The page could be in an inconsistent state after this. We apologize for the inconvenience."); + + "]."); } else { var pattern = /viewId.*could not be restored./; if (pattern.test(data.description)) { @@ -114,7 +114,7 @@ function errorListener(data) { + data.errorName + ": " +data.description + "] was triggered by [" + data.source.name - + "]. The page could be in an inconsistent state after this. We apologize for the inconvenience."); + + "]."); } } }