Skip to content

Commit

Permalink
Apply Robert Molenda's GWT 2.10 fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mddubs committed Mar 15, 2023
1 parent af53952 commit 41f502f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Jorsek/gwtquery
========

A fork of Arcbees/gwtquery to fix GWT 2.10 dependencies.
A fork of [Arcbees/gwtquery](https://github.com/ArcBees/gwtquery) to fix GWT 2.10 dependencies.

* master branch reset to last release '1.5-beta', 8 remaining commits preserved in branch 'master-from-fork'
* applied [Robert Molenda](https://github.com/RobertMolenda)'s GWT 2.10.0 [fix](https://github.com/ArcBees/gwtquery/issues/389#issuecomment-1385659047).

Thanks to Robert and Arcbees for their contributions!
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,20 @@ public void f(int i, Object... args) {
}
}

/**
* Does this fix the issue with gwt????????????????????
*
* Override this method for bound event handlers if you wish to deal with
* per-handler user data.
*
* @return boolean false means stop propagation and prevent default
*/
public boolean f(Event e, Object arg) {
setArguments(arg);
setEvent(e);
return f(e);
}

/**
* Override this method for bound event handlers if you wish to deal with
* per-handler user data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ public final native Event getOriginalEvent() /*-{

public final native void setCurrentElementTarget(Element e) /*-{
this.currentTarget = e;
// ie don't have a currentEventTarget field on event
try{
@com.google.gwt.dom.client.DOMImplTrident::currentEventTarget = e;
}catch(e){}
}-*/;

/**
Expand Down

0 comments on commit 41f502f

Please sign in to comment.