Opened 10 years ago
Closed 10 years ago
#16445 closed defect (fixed)
Many 1.8 samples fail when loaded from cache
Reported by: | Randy Hudson | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9 |
Component: | Documentation | Version: | 1.8.1 |
Keywords: | Cc: | Kitson Kelly | |
Blocked By: | Blocking: |
Description
In Safari, I'm looking at the page: https://dojotoolkit.org/reference-guide/1.8/dijit/_editor/plugins/LinkDialog.html
The first time I click on the "Run" button, an empty dialog appears. After a long wait, the code glass example is finally loaded and I see the editor.
But if I refresh the whole page and click on the Run button again, the dialog stays empty and the example never loads. The only way to make it work again is to clear the browser's cache. It seems like there is bug in the AMD loader that is dependent on load times?
Change History (3)
comment:1 Changed 10 years ago by
Component: | Loader → Documentation |
---|
comment:2 Changed 10 years ago by
Cc: | Kitson Kelly added |
---|---|
Milestone: | tbd → 1.9 |
Owner: | changed from Rawld Gill to bill |
Status: | new → assigned |
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
OK, fixed in https://github.com/phiggins42/rstwiki/commit/6e2b277601ab86de0d996137de4d0d21a6e21009, I guess that will show up when we roll out the doc website for 1.9, unless we want to roll it out earlier.
I doubt there's any problem with the loader. I did reproduce the problem on Safari/mac, although not Chrome mac.
The example is loaded and initialized correctly, but the iframe stays hidden. display() in https://github.com/phiggins42/rstwiki/blob/master/_static/docs/CodeGlassViewerMini.js isn't getting called, or maybe is failing somehow.
I'll take a look.