Opened 8 years ago
Closed 8 years ago
#16369 closed defect (wontfix)
dojox.layout.ContentPane cannot load a page with script loading dojo.js
Reported by: | riceyeh | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | DojoX Layout | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
An error like below will occur when dojox/layout/ContentPane try to load a page with <script> loading dojo.js again.
"NetworkError?: 405 Method Not Allowed - http://ajax.googleapis.com/ajax/libs/dojo/1.8.1/dojo/dojo.js"
Attachments (3)
Change History (4)
Changed 8 years ago by
Changed 8 years ago by
Attachment: | main.2.html added |
---|
Changed 8 years ago by
Attachment: | helloWorld.html added |
---|
comment:1 Changed 8 years ago by
Component: | General → DojoX Layout |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
We've had a ticket like this before, asking for guard code in dojo.js to not do anything if it gets reloaded. But I don't want to add such code to dojo, because it seems like a corner case of doing something strange. I think you'll need to add a little hook to ContentPane to filter out the dojo.js include yourself.