Thanks to all answers!
Now I see, that it isn't possible to avoid splitting the code.
Instead of
if (ConfirmDialog.show()) {
do_something;
} else {
do_somethingelse;
}
I have to do
function something {do_something;}
function somethingelse {do_somethingelse;}
ConfirmDialog.show(something, somethingelse);
Erich
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel