When I removed the left button recognition code it now works @UiHandler("myLabel") public void onMyLabel(ClickEvent event) { getPresenter().onMyLabel(); }
On May 7, 11:26 pm, Tristan <tristan.slomin...@gmail.com> wrote: > The following doesn't work in IE8. Do I have to do something with > (<meta http-equiv="X-UA-Compatible" content="IE=8">)? Or am I missing > a nuance with ClickEvent? By "doesn't work" I mean that the method > onMyLabel() in the presenter does not get called. > > @UiFieldLabelmyLabel; > > @UiHandler("myLabel") > public void onMyLabel(ClickEvent event) { > if (event.getNativeEvent().getButton() == NativeEvent.BUTTON_LEFT) > { > getPresenter().onMyLabel(); <----- this doesn't execute > } > > Tristan > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.