making error detection easier

This commit is contained in:
Kohsuke Kawaguchi committed 2012-09-28 13:55:51 -07:00
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);