#17993 closed task (fixed)
Missing dom-style in define for dijit Select widget?
Reported by: | karzelek | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.7 |
Component: | Dijit - Form | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I found something strange when using IE11 in IE8 mode. IE stopped on an exception telling me the line "var s=domStyle.getComputedStyle(this.domNode);" is wrong: "'domStyle' is undefined". (Which already surprised me. As it is the compressed .js file I would have supposed domStyle to be replaced by a shorter variable name.)
So I checked the define statement and different dojo/dom-... modules are loaded, but dojo/dom-style seems to not be loaded.
Change History (4)
comment:1 Changed 7 years ago by
Component: | General → Dijit - Form |
---|---|
Milestone: | tbd → 1.8.7 |
Owner: | set to bill |
Status: | new → assigned |
Type: | defect → task |
Version: | 1.9.3 → 1.8.0 |
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Good catch, indeed it is referencing domStyle but not require()'ing it. It's inside a
if(has("ie") < 9)
and then inside atry/catch
so the error is squelched. Apparently this code is not very important. It's from d7e70e3dec1d4cfcb0d8fb5f6acf82f4f82f9e9e, refs #14850.