提交 3a65d017 编写于 作者: K kohsuke

IE doesn't have the importNode method.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7939 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8564549a
......@@ -87,7 +87,10 @@
return;
}
var copy = document.importNode(master,true);
if(document.importNode!=null)
copy = document.importNode(master,true);
else
copy = master.cloneNode(true); <!-- for IE -->
copy.removeAttribute("id");
copy.removeAttribute("style");
copy.firstChild.innerHTML = name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册