* does not have focus that the item is selected and focused.
* #5269
*/
- if (inCaption) {
+ if (getElement() == target || ie6compatnode == target) {
+ // state change
+ toggleState();
+ } else if (inCaption) {
// caption click = selection change && possible click event
- if (getElement() == target || ie6compatnode == target) {
- // state change
- toggleState();
- } else if (!readonly && selectable) {
+ if (!readonly && selectable) {
if (handleClickSelection(
event.getCtrlKey() || event.getMetaKey(),
event.getShiftKey())) {
* .dom.client.BlurEvent)
*/
public void onBlur(BlurEvent event) {
- if (focusedNode != null)
+ if (focusedNode != null) {
focusedNode.setFocused(false);
+ }
}
/*