not returning null in opac when event happens unless alertEvent is true
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Jul 2006 22:23:31 +0000 (22:23 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Jul 2006 22:23:31 +0000 (22:23 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5143 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index dc9da25..94b1cf0 100644 (file)
@@ -294,9 +294,10 @@ RemoteRequest.prototype.getResultObject = function() {
        if(!isXUL()) {
                if( checkILSEvent(payload) ) {
                        this.event(payload);
-                       if( this.alertEvent )
+                       if( this.alertEvent ) {
                                alertILSEvent(payload);
-                       return null;
+                               return null;
+                       }
                } 
        }