do not call correctPNG() when undefined

This commit is contained in:
Andrew Dolgov 2007-04-23 14:45:24 +01:00
parent 4bbc659591
commit 23943c9b7e
1 changed files with 9 additions and 3 deletions

View File

@ -42,7 +42,9 @@ function feedlist_callback() {
caller_subop = false;
}
if (typeof correctPNG != 'undefined') {
correctPNG();
}
notify("");
} catch (e) {
exception_error("feedlist_callback", e);
@ -54,7 +56,9 @@ function filterlist_callback() {
var container = document.getElementById('prefContent');
if (xmlhttp.readyState == 4) {
container.innerHTML=xmlhttp.responseText;
if (typeof correctPNG != 'undefined') {
correctPNG();
}
notify("");
}
}
@ -77,7 +81,9 @@ function labellist_callback() {
checkbox.checked = true;
}
}
if (typeof correctPNG != 'undefined') {
correctPNG();
}
notify("");
}
}