includes/clientside/static/messagebox.js
changeset 811 5c807fe77020
parent 779 609e35845ec3
child 832 7152ca0a0ce9
equal deleted inserted replaced
810:7fd2b8a58ae4 811:5c807fe77020
   294     var to = fly_out_top(maindiv, true, false);
   294     var to = fly_out_top(maindiv, true, false);
   295     setTimeout("var mbdiv = document.getElementById('messageBox'); mbdiv.parentNode.removeChild(mbdiv.nextSibling); mbdiv.parentNode.removeChild(mbdiv); if ( !mb_previously_had_darkener ) enlighten(true);", to);
   295     setTimeout("var mbdiv = document.getElementById('messageBox'); mbdiv.parentNode.removeChild(mbdiv.nextSibling); mbdiv.parentNode.removeChild(mbdiv); if ( !mb_previously_had_darkener ) enlighten(true);", to);
   296   }
   296   }
   297   if(typeof mb.onclick[val] == 'function')
   297   if(typeof mb.onclick[val] == 'function')
   298   {
   298   {
   299     o = mb.onclick[val];
   299     (mb.onclick[val])();
   300     o();
       
   301     o = false;
       
   302   }
   300   }
   303 }
   301 }
   304 
   302 
   305 function testMessageBox()
   303 function testMessageBox()
   306 {
   304 {