Skip to content
Snippets Groups Projects
Commit e15a9916 authored by Henri Queneau's avatar Henri Queneau
Browse files

jquery instead of prototype

parent 518849b1
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ if (isset($_GET['body_loaded'])){
}
else{
?>
<body style="background: url('static.php?filename=loading_big.gif') no-repeat fixed center;" onload="$('maarch_body').style.background='f2f2f2';$('maarch_body').style.backgroundImage='';$('maarch_body').style.backgroundUrl='';$('maarch_content').style.display='block';session_expirate(<?php echo $time;?>, '<?php
<body style="background: url('static.php?filename=loading_big.gif') no-repeat fixed center;" onload="$j('#maarch_body').css('background','f2f2f2');$j('#maarch_body').css('backgroundImage','');$j('#maarch_body').css('backgroundUrl', '');$j('#maarch_content').css('display','block');session_expirate(<?php echo $time;?>, '<?php
echo $_SESSION['config']['businessappurl'];
?>index.php?display=true&page=logout&logout=true');" id="maarch_body">
<div id ="maarch_content" style="display:none;">
......@@ -334,7 +334,7 @@ if (file_exists($path)) {
if(isset($_SESSION['error']) && $_SESSION['error'] <> '') {
?>
<script>
var main_error = $('main_error_popup');
var main_error = $j('#main_error_popup');
if (main_error != null) {
main_error.style.display = 'table-cell';
Element.hide.delay(10, 'main_error_popup');
......@@ -346,7 +346,7 @@ if (file_exists($path)) {
if(isset($_SESSION['info']) && $_SESSION['info'] <> '') {
?>
<script>
var main_info = $('main_info');
var main_info = $j('#main_info');
if (main_info != null) {
main_info.style.display = 'table-cell';
Element.hide.delay(10, 'main_info');
......
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