View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory sc8-pr-cvs1:/tmp/cvs-serv24049
Modified Files:
calculate.js clock.js history.js
Log Message:
updated to use setSearchWindowText
Index: calculate.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/calculate.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** calculate.js 5 Jan 2002 05:48:37 -0000 1.4
--- calculate.js 14 Dec 2002 05:48:49 -0000 1.5
***************
*** 18,29 ****
answer = round(answer * 1e+7)/1e+7;
}
! document.deff.q.value = answer;
}
}
catch (exception)
{
! document.deff.q.value = expr + "=ERR=";
}
- document.deff.q.createTextRange().select();
savevars();
--- 18,28 ----
answer = round(answer * 1e+7)/1e+7;
}
! setSearchWindowText(answer, true);
}
}
catch (exception)
{
! setSearchWindowText(expr + "=ERR=", true);
}
savevars();
Index: clock.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/clock.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** clock.js 23 Jul 2002 02:32:02 -0000 1.4
--- clock.js 14 Dec 2002 05:48:49 -0000 1.5
***************
*** 132,136 ****
document.deff.q.className = "clock";
var now = new Date();
! document.deff.q.value = formatdate(now, clockformat);
if (typeof clocktooltipform != "undefined" && clocktooltipform != "")
{
--- 132,136 ----
document.deff.q.className = "clock";
var now = new Date();
! setSearchWindowText(formatdate(now, clockformat));
if (typeof clocktooltipform != "undefined" && clocktooltipform != "")
{
Index: history.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/history.js,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** history.js 26 Jul 2002 21:42:47 -0000 1.16
--- history.js 14 Dec 2002 05:48:50 -0000 1.17
***************
*** 153,157 ****
{
histcurr = i;
! document.deff.q.value = currhistedit();
return;
}
--- 153,157 ----
{
histcurr = i;
! setSearchWindowText(currhistedit());
return;
}
***************
*** 163,167 ****
{
histcurr = i;
! document.deff.q.value = currhistedit();
return;
}
--- 163,167 ----
{
histcurr = i;
! setSearchWindowText(currhistedit());
return;
}
***************
*** 175,179 ****
{
histcurr = i;
! document.deff.q.value = currhistedit();
return;
}
--- 175,179 ----
{
histcurr = i;
! setSearchWindowText(currhistedit());
return;
}
***************
*** 185,189 ****
{
histcurr = i;
! document.deff.q.value = currhistedit();
return;
}
--- 185,189 ----
{
histcurr = i;
! setSearchWindowText(currhistedit());
return;
}
***************
*** 220,224 ****
}
! document.deff.q.value = currhistedit();
return true;
}
--- 220,224 ----
}
! setSearchWindowText(currhistedit());
return true;
}
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/