In one of мудулей for joomla is флэш a player, and at анлоаде pages there is an error in a code

1
2
3
 function __ flash __ removeCallback (instance, name) { name) {
 instance [name] = null; = null;
}

instance in this case it appears null but where I couldn't find this code. Therefore that this error didn't stir сёрфить a site, it is necessary to add:следует добавить:

1
2
3
4
5
6
7
8
9
window.addEvent (' beforeunload ', function () {, function() {

window. __ flash __ removeCallback =
(function () {) {
return function (instance, name) {instance, name) {
if (instance) instance [name] = null; instance[name] = null;
};//IE 6 dangling semicolon needed// IE 6 dangling semicolon needed
}) ();//force another closure to prevent IE memory leaks); // force another closure to prevent IE memory leaks
});