2003/09/29 04:01:30
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:38:44 +0000 (07:38 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:38:44 +0000 (07:38 +0000)
darcs-hash:20040130073844-2ba56-e4b204a0db470a840c5d77bd95cd3246b0a1a32c.gz

src/org/xwt/Box.java.pp

index 85b143e..05c6602 100644 (file)
@@ -524,6 +524,7 @@ public final class Box extends JS.Scope {
             if (Log.on) Log.logJS(this, "attempt to set a numerical property on a box to anything other than a box");
         } else if (redirect == null) {
             if (Log.on) Log.logJS(this, "attempt to add/remove children to/from a node with a null redirect");
+            put("0", (Box)value);
         } else if (redirect != this) {
             Box b = value == null ? (Box)redirect.get(i) : (Box)value;
             redirect.put(i, value);