From: erickson Date: Fri, 9 Jan 2009 19:09:07 +0000 (+0000) Subject: call recv() to get the result. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=adce17a8b70d2ff4d8d47631ca44556fd7b8782a;p=Evergreen.git call recv() to get the result. git-svn-id: svn://svn.open-ils.org/ILS/trunk@11788 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/PermaCrud.js b/Open-ILS/web/js/dojo/openils/PermaCrud.js index 46e5c9a37b..59757d1ad0 100644 --- a/Open-ILS/web/js/dojo/openils/PermaCrud.js +++ b/Open-ILS/web/js/dojo/openils/PermaCrud.js @@ -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; },