projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
823928e
)
Add null-check before access.
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 1 Jul 2012 09:32:33 +0000
(11:32 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 1 Jul 2012 09:32:33 +0000
(11:32 +0200)
webcit/static/wclib.js
patch
|
blob
|
history
diff --git
a/webcit/static/wclib.js
b/webcit/static/wclib.js
index 1594632f06bf3c6d312c901e74aa8f073be420d5..ae7d20c8af1a3cc2eba3df82f3299676407c41d5 100644
(file)
--- a/
webcit/static/wclib.js
+++ b/
webcit/static/wclib.js
@@
-198,7
+198,8
@@
function remove_something(what_to_search, new_visibility) {
else {
document.poppedLayer = eval('document.layers[\'`' + what_to_search + '\']');
}
else {
document.poppedLayer = eval('document.layers[\'`' + what_to_search + '\']');
}
- document.poppedLayer.innerHTML = "";
+ if (document.poppedLayer!= null)
+ document.poppedLayer.innerHTML = "";
}
function unhide_imsg_popup() {
}
function unhide_imsg_popup() {