Changeset 2758 for package_branches
- Timestamp:
- Dec 21, 2009, 1:11:53 AM (15 years ago)
- Location:
- package_branches/invirt-web/ajaxterm-rebased/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/ajaxterm-rebased/code/static/ajaxterm/ajaxterm.js
r2753 r2758 273 273 opt_paste.attachEvent("onclick", do_paste); 274 274 } 275 document.onkeypress=keypress;276 document.onkeydown=keydown;275 $('term').onkeypress=keypress; 276 $('term').onkeydown=keydown; 277 277 force=true; 278 278 timeout=window.setTimeout(update,100); -
package_branches/invirt-web/ajaxterm-rebased/code/templates/terminal.mako
r2752 r2758 22 22 window.onload=function() { 23 23 t=ajaxterm.Terminal("term", ${machine.machine_id}); 24 $('term').focus(); 24 25 } 25 26 </script> 26 27 </%def> 27 28 28 <div id="term"></div>29 <div tabindex="0" id="term"></div> 29 30 <div style="clear: both;"></div>
Note: See TracChangeset
for help on using the changeset viewer.