Skip to content
Snippets Groups Projects
Commit 17a22e28 authored by srosse's avatar srosse
Browse files

OO-1068: fix info message which doesn't want to disappear

parent dd0cc788
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,9 @@
##needs to be delayed otherwise IE6 will crash in non ajax mode
<script type="text/javascript">
/* <![CDATA[ */
setTimeout(function(){ showMessageBox("info", "$r.translate("info.header")", "$r.get("guiMessage").renderInfo()"); }, 100);
setTimeout(function(){
showInfoBox("$r.translate("info.header")", "$r.get("guiMessage").renderInfo()");
}, 100);
/* ]]> */
</script>
#end
......
......@@ -1170,6 +1170,14 @@ function showInfoBox(title, content){
content = null;
msgCt = null;
time = null;
setTimeout(function(){
try {
cleanup();
} catch(e) {
//possible if the user has closed the window
}
}, 8000);
}
/*
* renders an message box which the user has to click away
......
This diff is collapsed.
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