[Seaside] calling a JS function

Milan Mimica milan.mimica at gmail.com
Wed Sep 7 19:31:55 UTC 2011


I need to pass s JS function to some jQuery widget. I don't want to
inline it, but instead have it separate in a file.

The problem is:
(Dictionary newFrom: {'custom' -> #doSomething}) asJson.
produces:
{"custom":"doSomething"}
while I need:
{"custom":doSomething}           (without quotas)



-- 
Milan Mimica
http://sparklet.sf.net


More information about the seaside mailing list