call recv() to get the result.
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Jan 2009 19:09:07 +0000 (19:09 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Jan 2009 19:09:07 +0000 (19:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11788 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/PermaCrud.js

index 46e5c9a..59757d1 100644 (file)
@@ -89,7 +89,7 @@ if(!dojo._hasResource["openils.PermaCrud"]) {
 
             req.send();
 
-            if (req_hash.timeout) return req.result.content();
+            if (req_hash.timeout) return req.recv().content();
             return req;
         },
 
@@ -124,7 +124,7 @@ if(!dojo._hasResource["openils.PermaCrud"]) {
 
             req.send();
 
-            if (req_hash.timeout) return req.result.content();
+            if (req_hash.timeout) return req.recv().content();
             return req;
         },
 
@@ -154,7 +154,7 @@ if(!dojo._hasResource["openils.PermaCrud"]) {
 
             req.send();
 
-            if (req_hash.timeout) return req.result.content();
+            if (req_hash.timeout) return req.recv().content();
             return req;
         },