made method return data
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 06:37:42 +0000 (06:37 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 06:37:42 +0000 (06:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5986 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index bd16c99..f7728bd 100644 (file)
@@ -854,6 +854,7 @@ function findRecord(id,type) {
        req.send(true);
        var res = req.result();
        if( checkILSEvent(res) ) return null; 
        req.send(true);
        var res = req.result();
        if( checkILSEvent(res) ) return null; 
+       return res;
 }
 
 function Timer(name, node){
 }
 
 function Timer(name, node){