svn changeset:5620/svn branch:trunk
int childIndex = 0;
// Open URL:s
+ boolean isClosed = false; // was this window closed?
while (childIndex < uidl.getChildCount()
&& "open".equals(uidl.getChildUIDL(childIndex).getTag())) {
final UIDL open = uidl.getChildUIDL(childIndex);
if (target == null) {
// This window is closing. Send close event before
// going to the new url
+ isClosed = true;
onWindowClosed();
goTo(url);
} else {
}
childIndex++;
}
+ if (isClosed) {
+ // don't render the content
+ return;
+ }
// Draw this application level window
UIDL childUidl = uidl.getChildUIDL(childIndex);