X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=a297706556f1b0f0c406de57e3d208724e2c5ea8;hb=e534c17db2f3986751f4a96900e4aaae56d34873;hp=7b2448cb09481b86a79f90f6120ae6178173baaf;hpb=a406f7ab23d1089170517a8997e1c2221e5748a0;p=syj.git diff --git a/public/js/syj.js b/public/js/syj.js index 7b2448c..a297706 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -1,4 +1,4 @@ -/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier, +/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier, and is published under the AGPL license. */ // avoid openlayers alerts @@ -611,15 +611,6 @@ var SYJView = { case 400: case 404: message = SyjStrings.requestError; - if (transport.responseJSON) { - switch (transport.responseJSON.message) { - case "uniquepath": - message = SyjStrings.uniquePathError; - break; - default: - break; - } - } break; case 403: message = "";