Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (79 - 81 of 18300)

Ticket Resolution Summary Owner Reporter
#10220 patchwelcome 'create link' removes markup Jared Jurkiewicz rsccag
Description

Creating a link with the 'create link' dialog(plugin) removes all existing markup when applied to a text. Afterwards markup can be applied to the link again with other dialogs.

#12188 fixed 'dijit.css' causes dojox.charting could not be displayed in high contrast mode bill Siqi
Description

'dijit.css' causes dojox.charting could not be displayed in high contrast mode in IE. Steps to reproduce this scenario:

  1. Set up High Contrast in your windows system
  2. Open the dojox/charting/tests/test_fireEvent.html in IE

Result: The chart is not displayed correctly.

This is caused by the style class '.dijit_a11y' in dijit/themes/dijit.css at line 160. 'background-image:none' turns the background color of the chart into black in high contrast mode.

#13970 invalid 'dojo is not defined' issue caused by dojo loader Rawld Gill hbaaron
Description

This happens to SDK version only. When using a release version, it won't happen.

How to reproduce

Deploy dojo 1.6 SDK version to your site, refer it as http://example.com/dojo/dojo.js later. Write a Greasemonkey user script, for example, dojo.user.js, with the following line:

Create script tag in head var script = document.createElement("script"); script.src = dojoUrl; document.getElementsByTagName("head")[0].appendChild(script);

Create link style in head var link = document.createElement("link"); link.rel = "stylesheet"; link.type = "text/css"; link.href = dojoStyleUrl; document.getElementsByTagName("head")[0].appendChild(link);

unsafeWindow.addEventListener("load", function(event) {

document.body.className += (" tundra"); console.log(unsafeWindowdojo?); this line will complains unsafeWindowdojo? is not defined

});

Root cause: Under Greasemonkey context, greasemonkey executes the above statements after the whole page is parsed and about to displayed to end user. At this time, any calls to document.write() won't cause output to the document. If you need to insert something to the document, you have to call DOM APIs. However, in the dojo.js, it use document.write() to load

dojo/_base/_loader/bootstrap.js, dojo/_base/_loader/loader.js, dojo/_base/_loader/hostenv_browser.js, dojo/_base.js

So in the end, these scripts are not loaded.

To verify the above assumption, modify the Greasemonkey user scripts as the following:

var script = document.createElement("script"); script.src = dojoUrl; document.getElementsByTagName("head")[0].appendChild(script);

var tmps = [

"http://example.com/dojolib/dojo/_base/_loader/bootstrap.js", "http://example.com/dojolib/dojo/_base/_loader/loader.js", "http://example.com/dojolib/dojo/_base/_loader/hostenv_browser.js", "http://example.com/dojolib/dojo/_base.js"

];

for (var x in tmps){

var _script = document.createElement('script'); _script.src = tmps[x]; document.getElementsByTagName('head')[0].appendChild(_script);

}

Create link style in head var link = document.createElement("link"); link.rel = "stylesheet"; link.type = "text/css"; link.href = dojoStyleUrl; document.getElementsByTagName("head")[0].appendChild(link);

unsafeWindow.addEventListener("load", function(event) {

document.body.className += (" tundra"); console.log(unsafeWindowdojo?); this line is ok now

});

Now you won't get any complain.

Note: See TracQuery for help on using queries.