[open-ils-commits] r11788 - trunk/Open-ILS/web/js/dojo/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 9 14:09:10 EST 2009


Author: erickson
Date: 2009-01-09 14:09:07 -0500 (Fri, 09 Jan 2009)
New Revision: 11788

Modified:
   trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js
Log:
call recv() to get the result.

Modified: trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js	2009-01-09 19:04:02 UTC (rev 11787)
+++ trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js	2009-01-09 19:09:07 UTC (rev 11788)
@@ -89,7 +89,7 @@
 
             req.send();
 
-            if (req_hash.timeout) return req.result.content();
+            if (req_hash.timeout) return req.recv().content();
             return req;
         },
 
@@ -124,7 +124,7 @@
 
             req.send();
 
-            if (req_hash.timeout) return req.result.content();
+            if (req_hash.timeout) return req.recv().content();
             return req;
         },
 
@@ -154,7 +154,7 @@
 
             req.send();
 
-            if (req_hash.timeout) return req.result.content();
+            if (req_hash.timeout) return req.recv().content();
             return req;
         },
 



More information about the open-ils-commits mailing list