|
|
 |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Jesse Glick
|
|
Components:
|
core |
|
Created:
|
24/Oct/12 10:52 PM
|
|
Description:
|
The contents of the bind expression, and any further contents of your <script>, are dumped outside of any script block and appear as plain text in the web page.
Adding <st:adjunct includes="org.kohsuke.stapler.bind"/> first solves that problem, but now your <script> block is not run at all.
|
|
Environment:
|
1.424
|
|
Project:
|
Jenkins
|
|
Labels:
|
javascript
|
|
Priority:
|
Major
|
|
Reporter:
|
Jesse Glick
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
…since as per http://stackoverflow.com/questions/4619668/executing-script-inside-div-retrieved-by-ajax scripts included in dynamically inserted content are not executed. You can work around this in general by using a st:adjunct of your own JavaScript, but this cannot work when st:bind has to produce part of that JavaScript since an adjunct is static.