May this be because of invalid js variable name (src-...)?

2010/3/6, Henry Chen <hc...@peacocknine.com>:
>
> Sorry, I edited it later but looks like it only saved on Nabble. Here is the
> complete post.
>
>
> I got this error.
>
> Client exception processing response: SyntaxError: missing ; before
> statement
>
> Below is the "script" section from one of the ajax response.
>
> ------------------------------------------------------------------------
> "script":"new Confirm('eventlink_2-12730bcfdc5', 'Are you sure you want to
> delete this subtopic and its responses?');\nvar src-12730bcfdc5 = new
> Ck.Rounded('src-12730bcfdc5', '#FFFFFF', '#F8F1E4', 'big',
> 'both');\nsrc-12730bcfdc5.round();\n"
> ------------------------------------------------------------------------
>
> The error occurred when executing the following code.
>
> Tapestry.ScriptManager.addScripts(reply.scripts,
>                 function()
>                 {
>                     callback.call(this);
>
>                     // After the callback updates the DOM
>                     // (presumably), continue on with
>                     // evaluating the reply.script
>                     // and other final steps.
>
>                     if (reply.script) eval(reply.script);  <-- exception
>
>                     Tapestry.onDomLoadedCallback();
>
>                 });
> --
> View this message in context:
> http://n2.nabble.com/Render-large-page-tp4677583p4684690.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

-- 
Отправлено с моего мобильного устройства

Dmitry Gusev

AnjLab Team
http://anjlab.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to