the domain object stuff will be going away
authorphasefx <phasefx@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Mar 2005 20:10:00 +0000 (20:10 +0000)
committerphasefx <phasefx@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Mar 2005 20:10:00 +0000 (20:10 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@131 9efc2488-bf62-4759-914b-345cdb29e865

src/javascript/opensrf_domain_object.js

index 209b4c1..54b3e6f 100644 (file)
@@ -462,7 +462,8 @@ oilsResult.prototype.getContent = function() {
                if( node.nodeName == "oils:domainObject"                                        ||
                                node.nodeName == "oils:domainObjectCollection" ) {
 
-                       return DomainObject.newFromNode( node );
+                       //return DomainObject.newFromNode( node );
+                       return JSON2js( node.textContent );
                }
                node = nodes.item(++x);
        }