You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cr...@apache.org on 2002/12/04 15:01:25 UTC
cvs commit: xml-cocoon2/src/webapp/samples/flow/examples/calc calc.js
crafterm 2002/12/04 06:01:25
Modified: src/webapp/samples/flow/examples/calc calc.js
Log:
Fixed calc example, sendResult() method should be calling sendPage()
as it's the final page displayed in the flow.
Revision Changes Path
1.4 +1 -1 xml-cocoon2/src/webapp/samples/flow/examples/calc/calc.js
Index: calc.js
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/flow/examples/calc/calc.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- calc.js 4 Dec 2002 11:25:40 -0000 1.3
+++ calc.js 4 Dec 2002 14:01:25 -0000 1.4
@@ -33,6 +33,6 @@
function sendResult(a, b, op, result)
{
- sendPageAndWait("displayResult.html",
+ sendPage("displayResult.html",
{ "a" : a, "b" : b, "operator" : op, "result" : result });
}
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org