- Timestamp:
- 05/21/07 12:39:59 (18 months ago)
- Files:
-
- 1 modified
-
trunk/gregarius/ajax.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/ajax.php
r1662 r1717 259 259 // set the caret to the end of the field for bloody IE 260 260 var control = tc.firstChild; 261 control.onkeyup = function(e) { 262 if (!e) { e = event; e.which = e.keyCode; } 263 switch (e.which) { 264 case 10: // return 265 case 13: // enter 266 setTags(id,control.value); 267 return false; 268 break; 269 default: return true; 270 } 271 }; 261 272 control.focus(); 262 273 if (control.createTextRange) {
