提交 7b906626 编写于 作者: K Kohsuke Kawaguchi

making error detection easier

上级 eb171185
......@@ -1413,6 +1413,7 @@ function refreshPart(id,url) {
new Ajax.Request(url, {
onSuccess: function(rsp) {
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册