2003/12/29 22:31:38
[org.ibex.core.git] / src / org / xwt / Box.java
index 48c5628..35c0723 100644 (file)
@@ -420,7 +420,7 @@ public final class Box extends JSScope implements Scheduler.Task {
             return redirect == null ? null : redirect == this ? getChild(toInt(name)) : redirect.get(name);
 
         //#switch(name)
-        case "surface": return parent == null ? null : parent.get("surface");
+        case "surface": return parent == null ? null : parent.getAndTriggerTraps("surface");
         case "indexof": return METHOD;
         case "text": return text;
         case "path": throw new JSExn("cannot read from the path property");