Displaying 2 results from an estimated 2 matches for "evtc".
Did you mean:
etc
2007 Jul 16
4
Problem with keypress event handling
...to accept only digits (more or less).
Supposing that ''domText'' is the DOM element corresponding to the HTML
text input, we wrote the following:
Event.observe(domText, "keypress",
this.onKeyPress.bindAsEventListener(this));
where
this.onKeyPress = function(evt) {
var evtc = evt.keyCode; // char code for IE and Opera
if (evtc == 0 || evtc == null) {
// Firefox
evtc = evt.charCode;
}
if (evtc >= 48 && evtc <= 57) {
// Digit
return true;
} else {
Event.stop(evt);
}...
2007 Dec 10
0
[PATCH] avoid duplication of domain ID in messages
...hannel.c 2007-12-10 09:22:53.000000000 +0100
@@ -42,8 +42,16 @@
#define ERROR_EXIT(_errno) \
do { \
gdprintk(XENLOG_WARNING, \
- "EVTCHNOP failure: domain %d, error %d, line %d\n", \
- current->domain->domain_id, (_errno), __LINE__); \
+ "EVTCHNOP failure: error %d\n", \
+ (_errno)); \
+ rc = (_e...