Author: abelevich
Date: 2010-11-01 09:30:38 -0400 (Mon, 01 Nov 2010)
New Revision: 19825
Modified:
trunk/core/impl/src/main/resources/META-INF/resources/richfaces.js
Log:
add KEYS codes
Modified: trunk/core/impl/src/main/resources/META-INF/resources/richfaces.js
===================================================================
--- trunk/core/impl/src/main/resources/META-INF/resources/richfaces.js 2010-11-01 13:29:44
UTC (rev 19824)
+++ trunk/core/impl/src/main/resources/META-INF/resources/richfaces.js 2010-11-01 13:30:38
UTC (rev 19825)
@@ -753,6 +753,23 @@
}
}
};
+
+ //keys codes
+ richfaces.KEYS = {
+ BACKSPACE: 8,
+ TAB: 9,
+ RETURN: 13,
+ ESC: 27,
+ PAGEUP: 33,
+ PAGEDOWN: 34,
+ LEFT: 37,
+ UP: 38,
+ RIGHT: 39,
+ DOWN: 40,
+ DEL: 46
+ };
+
+
// move this code to somewhere
if (typeof jsf != 'undefined') {
jsf.ajax.addOnEvent(ajaxOnComplete);
Show replies by thread