From caa5bc8573049359d556554e7c0ceaa279798dfd Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:38:44 +0000 Subject: [PATCH] 2003/09/29 04:01:30 darcs-hash:20040130073844-2ba56-e4b204a0db470a840c5d77bd95cd3246b0a1a32c.gz --- src/org/xwt/Box.java.pp | 1 + 1 file changed, 1 insertion(+) 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); -- 1.7.10.4