A clear bug in ICustomLayout: overriding onDetach()-method did not call super.onDetach().
This fix is for the 5.3 branch.
svn changeset:5733/svn branch:trunk
}
/** Removes given widget from the layout */
+ @Override
public boolean remove(Widget w) {
client.unregisterPaintable((Paintable) w);
final String location = getLocation(w);
}
/** Adding widget without specifying location is not supported */
+ @Override
public void add(Widget w) {
throw new UnsupportedOperationException();
}
/** Clear all widgets from the layout */
+ @Override
public void clear() {
super.clear();
locationToWidget.clear();
client.runDescendentsLayout(this);
}
+ @Override
public void onDetach() {
+ super.onDetach();
detachResizedFunction(DOM.getFirstChild(getElement()));
}