V 3.5 RC 1

This commit is contained in:
Romain Neutron
2011-12-05 00:23:28 +01:00
parent 6f1ee368aa
commit 4c5b7eb658
5563 changed files with 466984 additions and 985416 deletions

View File

@@ -715,36 +715,6 @@ function openCompare(sselid){
$('#ssel2val')[0].value = sselid;
$('#validatorEject').submit();
}
/*************
* ANSWERS
**************/
function evt_clk_status(bid, rid, stat, oldval){
var o;
var imgid;
var newval = 1 - oldval;
$.ajax({
type: "POST",
url: "/xmlhttp/chg_status.x.php",
dataType: 'xml',
data: {
bid: bid,
rid: rid,
stat: stat,
val: newval
},
success: function(xml){
if (xml.documentElement.getAttribute('done') == '1') {
if ((o = document.getElementById(imgid = 'STATBIT_' + bid + '_' + rid + '_' + stat + '_' + oldval)))
o.style.display = 'none';
if ((o = document.getElementById(imgid = 'STATBIT_' + bid + '_' + rid + '_' + stat + '_' + newval)))
o.style.display = '';
}
return;
}
});
}
function setVisible(el){
el.style.visibility = 'visible';
@@ -774,27 +744,6 @@ function gotopage(pag){
return (false);
}
//function evt_open_hd(u){
// var top;
// var left;
// var w;
// var h;
//
//
// if (screen) {
// h = (screen.width) / 3;
// w = (screen.width) / 2.1;
// top = ((screen.height) / 3) - 100;
// left = ((screen.width - w) / 2);
//
// top = window.screenTop;
// left = window.screenLeft - 5;
// w = document.body.scrollWidth / 2;
// h = document.body.scrollHeight / 2;
// }
// var url = "/include/dirdoc.php?" + u
// myPrevWindow = window.open(url, "HD", 'resizable=yes,scrollbars,width=' + w + ',height=' + h + ',top=' + top + ',left=' + left);
//}
function evt_print(basrec){
var url = "/include/printpage.php?callclient=1";