зеркало из https://github.com/mozilla/pjs.git
Bug 250176 Error ``r has no properties'' [xs] in file ``http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp&rev=1.76.14.1'', line 15, character 0.
r=doron
This commit is contained in:
Родитель
9ffb9ffba3
Коммит
e3eaea62b6
|
@ -541,6 +541,8 @@ function showMessage(rev,line) {
|
||||||
r.style.display='none'
|
r.style.display='none'
|
||||||
}
|
}
|
||||||
r = document.getElementById('rev_'+rev)
|
r = document.getElementById('rev_'+rev)
|
||||||
|
if (!r)
|
||||||
|
return
|
||||||
var l = document.getElementById('line_'+line)
|
var l = document.getElementById('line_'+line)
|
||||||
var t = l.offsetTop
|
var t = l.offsetTop
|
||||||
var p = l.offsetParent
|
var p = l.offsetParent
|
||||||
|
|
|
@ -135,6 +135,8 @@ function showMessage(rev) {
|
||||||
r.style.display='none'
|
r.style.display='none'
|
||||||
}
|
}
|
||||||
r = document.getElementById('rev_'+rev)
|
r = document.getElementById('rev_'+rev)
|
||||||
|
if (!r)
|
||||||
|
return false
|
||||||
var l = document.getElementById('link_'+rev)
|
var l = document.getElementById('link_'+rev)
|
||||||
var t = l.offsetTop + 20
|
var t = l.offsetTop + 20
|
||||||
r.style.top = t
|
r.style.top = t
|
||||||
|
|
Загрузка…
Ссылка в новой задаче