XObject.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 17 May 2010 10:11:12 +0000 (18:11 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 17 May 2010 10:11:12 +0000 (18:11 +0800)
XObject.js

index 53dc3b3..ac3a5de 100644 (file)
@@ -370,7 +370,7 @@ XObject.prototype = {
         }
         if (xid == this.id) {
             try {
-                return this.get(child);
+                return child === false ? this : this.get(child);
             } catch (ex) {
                 throw {
                     name: "ArgumentError",