commit | eca2d4fa15c92e1888b31b3687c0e2d838d3e206 | [log] [tgz] |
---|---|---|
author | gwt.team.jlabanca <gwt.team.jlabanca@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Mar 17 22:39:39 2008 +0000 |
committer | gwt.team.jlabanca <gwt.team.jlabanca@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Mar 17 22:39:39 2008 +0000 |
tree | cf1d00802692f185325ed146b5db05cb106e08ed | |
parent | 3fb08e79d4006c6fb9e85ea3d3244a580f5a5daf [diff] |
Fixes a bug in MenuBar where the selectedItem was not set to null when an item is removed or clearItems is called. This could result in a JS null pointer exception if garbage collection runs because we try to access an element that no longer has any references to it. Issue: 2178 Patch by: jlabanca Review by: bruce git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2115 8db76d5a-ed1c-0410-87a9-c151d255dfc7