Hey,

2014-03-21 12:09 GMT+01:00 Nagaev Boris <[email protected]>:

> Hello,
>
> I tried to discover where arguments are stored. See code of Wt.emit. It
> looks like it is .args attribute of event, but I am not sure.
> BTW, I tried to use connect("function (o, e) { alert(1); }") and it does
> not work. Looks like this is broken in my Wt version (3.2.3).
>

This is indeed not something that is handled well. Although it's possible
to make sure that the JavaScript is being called if you use
JSignal.createCall(), it's not very user-friendly: you should invoke this
function only after the connections have been made, and we should equally
call the JavaScript if you use Wt.emit() directly in JavaScript code.

Can you create a ticket for this?

Regards,
koen
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to