added outlook support to the piler gui

This commit is contained in:
SJ
2013-10-17 10:11:17 +02:00
parent a9dff5928e
commit 40a04bc143
5 changed files with 20 additions and 7 deletions

View File

@ -16,7 +16,6 @@ var Piler =
folders: '',
extra_folders: '',
/*
* variables used at search listing
*/
@ -1047,7 +1046,7 @@ var Piler =
document.body.style.cursor = 'wait';
jQuery.ajax('qr.php?refresh=1', { cache: true })
jQuery.ajax('qr.php?refresh=1', { cache: false })
.done( function(a) {
$('#QR').html(a);
document.body.style.cursor = 'default';
@ -1065,14 +1064,21 @@ var Piler =
Piler.log("[toggle GA]", ga);
jQuery.ajax('qr.php?toggle=' + ga, { cache: true })
jQuery.ajax('qr.php?toggle=' + ga, { cache: false })
.done( function(a) {
})
.fail(function(a, b) { alert("Problem retrieving XML data:" + b) });
}
},
fix_page: function()
{
<?php if(OUTLOOK == 1) { ?>
$('#mainscreen').css('top', '60px');
<?php } ?>
}
}