no errors in browser console
On Monday, November 13, 2017 at 12:24:43 PM UTC-5, Jens wrote:
>
> Any errors on the browser console?
>
> private native void attachInternal() /*-{
> $wnd.jQuery("div.datePickerDay.datePickerDayIsValue").on( "Click",
> function() {
> *this.*
> @com.xi.admin.client.common.ui.text.DateFormatter::uiDatePickerPopup.hide()();
> console.log("OK");
> });
> }-*/;
>
> In your JSNI method "this" is probably not of type DateFormatter but the
> div element that has been clicked on. Try
>
> private native void attachInternal() /*-{
> var that = this;
> $wnd.jQuery("div.datePickerDay.datePickerDayIsValue").on( "Click",
> function() {
>
> [email protected]::uiDatePickerPopup.hide()();
> console.log("OK");
> });
> }-*/;
>
>
> -- J.
>
>
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.