make infobox dialog draggable

This commit is contained in:
Andrew Dolgov 2007-08-11 05:14:27 +01:00
parent 71d3224175
commit 1dc47c41ab
1 changed files with 3 additions and 0 deletions

View File

@ -1516,6 +1516,9 @@ function infobox_callback() {
var box = document.getElementById('infoBox');
var shadow = document.getElementById('infoBoxShadow');
if (box) {
new Draggable(shadow);
box.innerHTML=xmlhttp.responseText;
if (shadow) {
shadow.style.display = "block";