Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#367 closed defect (fixed)

ContentPane/LinkPane - scripts not processed

Reported by: ilia_kantor Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:


I can't include any <script> tags in pages loaded with LinkPane?. Also, could be nice if new dojo.require + new widgets may appear inside loaded content.

Change History (4)

comment:1 Changed 16 years ago by bill

Summary: LinkPane - scripts insideContentPane/LinkPane - scripts inside

Comment from Ricardo de Oliveira Saldanha:

I did a little workaround (inside the load event):

divdest.innerHTML = evt.responseText; dojo.debug(evt.responseText);

var myregexp = new

RegExp?("(?:<script[>]*>)([</]*?)(?:</script[>]*>)", "im");

var match = myregexp.exec(evt.responseText); if (match != null) {



It isn´t pretty but is working now ;)

comment:2 Changed 16 years ago by bill

Summary: ContentPane/LinkPane - scripts insideContentPane/LinkPane - scripts not processed

comment:3 Changed 16 years ago by anonymous

Milestone: 0.3release
Resolution: fixed
Status: newclosed

Fixed in #2973 and #2985.

comment:4 Changed 15 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.