Skip to content
Snippets Groups Projects
Commit 08db4441 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

jQueryized closePopups()

parent ddf8a04f
No related branches found
No related tags found
No related merge requests found
......@@ -336,14 +336,7 @@ addInitEvent(function(){
* Handler to close all open Popups
*/
function closePopups(){
if(!document.getElementById){ return; }
var divs = document.getElementsByTagName('div');
for(var i=0; i < divs.length; i++){
if(divs[i].className.indexOf('JSpopup') != -1){
divs[i].style.display = 'none';
}
}
jQuery('div.JSpopup').hide();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment