Changeset 2761 for package_branches/invirt-web/ajaxterm-rebased/code/static
- Timestamp:
- Dec 21, 2009, 1:12:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/ajaxterm-rebased/code/static/ajaxterm/ajaxterm.js
r2760 r2761 13 13 var sending=0; 14 14 var rmax=1; 15 var force=true;16 15 17 16 var div=document.getElementById(id); … … 99 98 } 100 99 var query=query1+send; 101 if (force) { 102 query=query+"&force=1"; 103 force=false; 100 if (dterm.firstChild && dterm.firstChild.id) { 101 query=query+"&h="+dterm.firstChild.id; 104 102 } 105 103 r.open("POST",base_path,true); … … 263 261 focus_element.onkeypress=keypress; 264 262 focus_element.onkeydown=keydown; 265 force=true;266 263 timeout=window.setTimeout(update,100); 267 264 }
Note: See TracChangeset
for help on using the changeset viewer.