Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (79 - 81 of 18300)

Ticket Resolution Summary Owner Reporter
#18874 wontfix dijit.Tree: faulty return value of function getNodesByItem for unknown items reisner
Description

If the passed item is unknown to the tree the return value of getNodesByItem should be an empty array. Instead an array with 'undefined' as its single element is returned.

So instead of

return [].concat(this._itemNodesMap[identity])

the following would fix that problem:

return [].concat(this._itemNodesMap[identity] || [])
#18873 invalid loading dojo.js with relative path ../dojo/dojo.js aploese
Description

Hi,

having this test.ntml in a sibling directory of dojo and dijit: <!DOCTYPE html> <html>

<head>

<title>Test</title> <meta charset="utf-8"></meta> <script data-dojo-config="async: 1" src="../dojo/dojo.js"></script>

<script>

require(["dijit/form/Button", "dojo/domReady!"], function (Button) {

alert("AMD Button loaded "); var button = new Button({title: "Test"}, "contenet");

});

</script>

</head> <body>

<div id="contenet"></div>

</body>

</html> Will not show the alert - it just fails silently... moving test.html up one directory, and change the srcipt tags src to dojo/dojo.js, works like expected. It seems that dojo/text or dojo/i18n getting confused by something. I have testet this with other files too.

Arne

#18871 fixed Firefox not loading DOJO in iframe with display:none Dylan Schiemann <[email protected]…> jfduffy
Description

We are experiencing an issue with DOJO 1.10.4 where DOJO content will not load if it's in an iframe that is loaded with display:none. This only happens in Firefox (tested with ESR 45.2).

Steps:

  1. Create an iframe DOM with a DOJO screen and display:none.
  2. Load the page with this DOM
  3. After the page is loaded, javascript to remove the "display:none".

Result: The iframe is blank

Notes:

  1. IE and Chrome work fine in this scenario
  2. There isn't an error when this happens in our app, but there is an error when I reproduced this outside of our app (below)
  3. This doesn't happen with any of our other iframe content (struts, angular)

Related tickets: JS Error during load of iframe with style "display:none" in Firefox - This may be the same issue, but I don't believe it is. I am not getting the same error they noted, either in my below case OR in our app. Additionally, adding the fix that is noted there to dojo/dom-style.js did not fix the issue in our app. dom-style.js (the file they are fixing) didn't even seem to be loaded up at any point in our app.

Reproduced case outside of our app (I'm not sure if this is the same problem as our app, the behavior is exactly the same but there is a javascript error with this case, whereas our app does not show an error at all):

<!doctype html>
<html>
  <body>
    <iframe id="test" frameborder="0" border="0" seamless="seamless" src="http://dojotoolkit.org/documentation/tutorials/1.10/charting/demo/basic-declarative.html" style="display:none; width: 1200px; height: 900px;"></iframe>
    <button onclick="document.getElementById('test').style.removeProperty('display')">Click</button>
  </body>
</html>

Run the above, and then click the button. The button will remove the display:none, but the iframe won't show it's content, which is the bug I'm reporting.

Running the above produces this error:

dojo/parser::parse() error
TypeError: d is null
Note: See TracQuery for help on using queries.