提交 555d2b1d 编写于 作者: J Jesse Glick

Merge branch 'master' of github.com:jenkinsci/jenkins

......@@ -1430,14 +1430,12 @@ function refreshPart(id,url) {
var hist = $(id);
if (hist==null) console.log("There's no element that has ID of "+id)
var p = hist.up();
var next = hist.next();
p.removeChild(hist);
var div = document.createElement('div');
div.innerHTML = rsp.responseText;
var node = $(div).firstDescendant();
p.insertBefore(node, next);
p.replaceChild(node, hist);
Behaviour.applySubtree(node);
layoutUpdateCallback.call();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册