no longer alerting in the opac when a server error occurs..
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 Sep 2006 15:58:29 +0000 (15:58 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 Sep 2006 15:58:29 +0000 (15:58 +0000)
now it just throws an exception which will get logged to the JS console

git-svn-id: svn://svn.open-ils.org/ILS/trunk@5889 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/RemoteRequest.js

index 44aa0b6..428536e 100644 (file)
@@ -345,7 +345,7 @@ RemoteRequest.prototype.getResultObject = function() {
 
                } else {
                        _debug(str);
-                       alert(str);
+                       throw str;
                }
        }