提交 b3d13a04 编写于 作者: K kohsuke

bug fix.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4626 71c3de6d-444a-0410-be80-ed276b4c234a
上级 80f20258
......@@ -132,13 +132,13 @@ var hudsonRules = {
e.onfocus = function() {
if (this.value == defaultValue) {
this.value = "";
Element.removeClassName(e, "defaulted");
Element.removeClassName(this, "defaulted");
}
}
e.onblur = function() {
if (this.value == "") {
this.value = defaultValue;
Element.addClassName(e, "defaulted");
Element.addClassName(this, "defaulted");
}
}
e = null; // avoid memory leak
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册