提交 8eb52219 编写于 作者: K Kohsuke Kawaguchi

fixed a bug in IE that breaks auto-filled select controls

上级 9a48907a
......@@ -55,6 +55,8 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=bug>
Fixed a bug in the UI JavaScript behavior with IE
<li class=bug>
Matrix project pages don't show latest test results.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-10864">issue 10864</a>)
......
......@@ -1216,7 +1216,7 @@ function refillOnChange(e,onChange) {
if (window.YUI!=null) YUI.log("Unable to find a nearby control of the name "+name,"warn")
return;
}
try { c.addEventListener("change",h,false); } catch (ex) { c.attachEvent("change",h); }
try { c.addEventListener("change",h,false); } catch (ex) { c.attachEvent("onchange",h); }
deps.push({name:Path.tail(name),control:c});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册