Opened 6 years ago

Closed 3 years ago

#17317 closed defect (patchwelcome)

Setting icon in HTA blocks dojo LightboxNano

Reported by: ven Owned by: cb1kenobi
Priority: undecided Milestone: 1.13
Component: Dojox Version: 1.8.5
Keywords: Cc:
Blocked By: Blocking:

Description

Code example:

<html>
<head>
  <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8/dojo/dojo.js" data-dojo-config="parseOnLoad:true"></script>
  <script>
    dojo.require("dojo.parser"); dojo.require("dojox.image.LightboxNano");
  </script>
  <HTA:APPLICATION ICON="http://google.com/favicon.ico" />
</head>
<script language="vbscript">

  Sub Window_OnLoad()
    g = "<a dojoType='dojox.image.LightboxNano' href='http://www.google.com/images/srpr/logo4w.png'>" &_
        "<img width='275' height='95' src='http://www.google.com/images/srpr/logo4w.png'></a>"
    document.body.innerHtml = document.body.innerHtml & g
  End Sub

</script>
<body>

</body>
</html>

As title says. Same outcome if I set icon to local file. No issues if I set any other HTA:APPLICATION attribute. No issues if I explicitly set html body ("a" element with image and dojo attribute), but only if this content is programatically delivered (document.body.innerHtml = ...)

Thanks

Change History (3)

comment:1 Changed 6 years ago by ven

Forgot to mention that this is observed on IE8 ;)

comment:2 Changed 6 years ago by bill

Component: GeneralDojox
Owner: set to cb1kenobi
Status: newassigned

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in the past 2+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.