From: megacz Date: Fri, 30 Jan 2004 07:38:44 +0000 (+0000) Subject: 2003/09/29 04:01:30 X-Git-Tag: RC3~507 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=caa5bc8573049359d556554e7c0ceaa279798dfd 2003/09/29 04:01:30 darcs-hash:20040130073844-2ba56-e4b204a0db470a840c5d77bd95cd3246b0a1a32c.gz --- diff --git a/src/org/xwt/Box.java.pp b/src/org/xwt/Box.java.pp index 85b143e..05c6602 100644 --- a/src/org/xwt/Box.java.pp +++ b/src/org/xwt/Box.java.pp @@ -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);