Opened 12 years ago

Closed 12 years ago

#2669 closed defect (wontfix)

handling of copyClasses is broken in src/widget/DropdownContainer.js

Reported by: tw@… 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");

Change History (1)

comment:1 Changed 12 years ago by bill

Resolution: wontfix
Status: newclosed

DropdownContainer?.js is not used in Dijit.

Note: See TracTickets for help on using tickets.