Hi,

I've created pull request [1] to fix this problem. But not merged yet.

[1] https://github.com/jenkinsci/jenkins/pull/844




2013/7/16 mpapo - Michaël Pailloncy <[email protected]>

> Hi,
>
> After an upgrade to 1.522, I'm facing with an issue with <st:binding .../>.
>
> I've implemented a method with @JavaScriptMethod (see
> https://wiki.jenkins-ci.org/display/JENKINS/AJAX+with+JavaScript+proxy)
>
> Before upgrade to to 1.522, the javascript looks like this :
> var instance =
> makeStaplerProxy('/$stapler/bound/8e07c66c-889f-4863-94ec-48e2318223f2','2396f390-2a15-4ce1-81bc-6ec14cddbd46',['getRangeDiffExportLines'])
>
> After upgrade :
> var instance = <script
> src='/adjuncts/751c3c39/org/kohsuke/stapler/json2.js'
> type='text/javascript'></script>makeStaplerProxy('/$stapler/bound/52f43804-b49e-4a41-845f-e66e43a6fa06','4dd0b402-9ddb-4ae0-a194-7dac6ef704f1',['getRangeDiffExportLines'])
>
> "<script src='/adjuncts/751c3c39/org/kohsuke/stapler/json2.js'
> type='text/javascript'></script>" is inserted before the
> makeStaplerProxy(..) and breaks the javascript variable declaration.
>
> How can I solve this problem ?
>
> Thank in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
s.sogabe at gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to