Bertrand Delacretaz wrote:
Le 11 mars 05, � 15:18, Sylvain Wallez a �crit :

...This is currently possible using "FOM_Cocoon.suicide()" which is what is used internally by cocoon.sendPageAndWait (see fom_system.js), and I would like to make this more visible by being available as "cocoon.suicide()".


It is not cocoon that is killed, it is the current flowscript, so why not

 cocoon.killCurrentFlow()

instead, to avoid confusion?

Another suggestion:

  cocoon.terminate();

As in "terminate flow". Shorter, and supposedly clearer than suicide.

Vadim

Reply via email to