diff --git a/CHANGES b/CHANGES index e52d6be..65b51bd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Glow Changelog +1.7.8 + +* glow.dom - Switched IE browser detection for feature detection so opacity works in IE 10 + 1.7.7 * glow.widgets.AutoSuggest - Fix bug that appeared when escaping the textfield after entering no text. diff --git a/build.properties b/build.properties index e00c63a..ee36493 100644 --- a/build.properties +++ b/build.properties @@ -1,3 +1,3 @@ LINE=1.7 -VERSION=1.7.7 -CSSVERSION=177 +VERSION=1.7.8 +CSSVERSION=178 diff --git a/src/dom/dom.js b/src/dom/dom.js index 3c23999..8c7321a 100755 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -2845,7 +2845,10 @@ if (typeof val == "number" && hasUnits.test(originalProp)) { val = val.toString() + "px"; } - if (prop == "opacity" && env.ie) { + + // Use feature detection to support older IEs + // http://blogs.msdn.com/b/ie/archive/2010/08/17/ie9-opacity-and-alpha.aspx + if (prop == "opacity" && typeof document.createElement("div").style.opacity == 'undefined') { //in IE the element needs hasLayout for opacity to work thisStyle.zoom = "1"; if (val === "") { diff --git a/src/map.js b/src/map.js index 91f2884..2788457 100755 --- a/src/map.js +++ b/src/map.js @@ -184,6 +184,10 @@ gloader.map.add( { $version: "1.7.7" } + , + { + $version: "1.7.8" + } ); })(); // end closure