Skip to content
Snippets Groups Projects
Commit 417e0143 authored by srosse's avatar srosse
Browse files

OO-4254: backport keyup event from selectus

parent 75e484ee
No related branches found
No related tags found
No related merge requests found
......@@ -43,9 +43,10 @@ public class FormEvent extends Event {
// checkbox / radio button the onclick will also be fired although nothing has
// been clicked.
public static final int ONCHANGE = 4;
public static final int ONKEYUP = 8;
//sorted x0 > x1 > x2 .. > xn
public static final int[] ON_DOTDOTDOT = new int[]{ONDBLCLICK, ONCLICK, ONCHANGE};
public static final int[] ON_DOTDOTDOT = new int[]{ONDBLCLICK, ONCLICK, ONCHANGE, ONKEYUP};
public static final FormEvent RESET = new FormEvent("reset",null);
private final int trigger;
......
......@@ -49,7 +49,7 @@ public class FormJSHelper {
private static final Logger log = Tracing.createLoggerFor(FormJSHelper.class);
private static final String[] EXTJSACTIONS = { "dblclick", "click", "change" };
private static final String[] EXTJSACTIONS = { "dblclick", "click", "change", "keyup" };
/**
* create for example an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment