From: Niels Erik G. Nielsen Date: Thu, 7 May 2015 10:17:45 +0000 (+0200) Subject: Removes obsolete noise in error msg, mkjsf-16 X-Git-Tag: v0.0.7~4 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=f969f221326787617bd4a8766bed1942d010eae0;p=mkjsf-moved-to-github.git Removes obsolete noise in error msg, mkjsf-16 --- 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."); + + "]."); } } }