mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
making error detection easier
This commit is contained in:
1 parent
eb171185b0
commit
7b9066267c
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user