Opened 13 years ago
Closed 13 years ago
#2669 closed defect (wontfix)
handling of copyClasses is broken in src/widget/DropdownContainer.js
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
current code tries to set .style directly which causes a parse error.
proposed fix:
--- src/widget/DropdownContainer.js.old Thu Mar 29 14:27:03 2007 +++ src/widget/DropdownContainer.js Thu Mar 29 14:27:40 2007 @@ -35,7 +35,7 @@ this.inputNode.style.width = this.inputWidth; this.inputNode.disabled = this.disabled; if (this.copyClasses) { - this.inputNode.style = ""; + dojo.html.setStyleText(this.inputNode,""); this.inputNode.className = this.getFragNodeRef(frag).className; } dojo.event.connect(this.inputNode, "onchange", this, "onInputChange");
Note: See
TracTickets for help on using
tickets.
DropdownContainer?.js is not used in Dijit.