FSN#22186 FireFox/Safari compatibiliteit
svn path=/Website/trunk/; revision=5346
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<%
|
||||
/* $Revision: 11 $
|
||||
$Modtime: 10-11-10 12:56 $
|
||||
/* $Revision: 12 $
|
||||
$Modtime: 11-01-12 8:32 $
|
||||
|
||||
File: alg_edit_wp.asp
|
||||
Description: wijzigen of toevoegen van een werkplek
|
||||
@@ -73,11 +73,11 @@ if (wp_key > 0)
|
||||
function enableArea()
|
||||
{
|
||||
if( event.srcElement.id != 'fix0' ) {
|
||||
document.all.wp_opp.disabled = false;
|
||||
document.getElementById("wp_opp").disabled = false;
|
||||
} else {
|
||||
document.all.wp_opp.disabled = true;
|
||||
document.all.wp_opp.value = "";
|
||||
document.all.areah.value = 'null';
|
||||
document.getElementById("wp_opp").disabled = true;
|
||||
document.getElementById("wp_opp").value = "";
|
||||
document.getElementById("areah").value = 'null';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,18 +92,18 @@ function isGoodNumber(str, checkInteger)
|
||||
|
||||
function checkArea()
|
||||
{
|
||||
if( document.all.area.value != ""
|
||||
&& !isGoodNumber(document.all.area.value, false )
|
||||
&& parseInt(document.all.wp_opp.value,10) > 0
|
||||
&& parseInt(document.all.wp_opp.value,10) < 999999.99) {
|
||||
if( document.getElementById("area").value != ""
|
||||
&& !isGoodNumber(document.getElementById("area").value, false )
|
||||
&& parseInt(document.getElementById("wp_opp").value,10) > 0
|
||||
&& parseInt(document.getElementById("wp_opp").value,10) < 999999.99) {
|
||||
alert('<%=lcl_estate_wp_bad_area%>');
|
||||
return false;
|
||||
|
||||
}
|
||||
if( document.all.wp_opp.value != "" ) {
|
||||
document.all.areah.value = document.all.area.value;
|
||||
if( document.getElementById("wp_opp").value != "" ) {
|
||||
document.getElementById("areah").value = document.getElementById("area").value;
|
||||
} else {
|
||||
document.all.areah.value = 'null';
|
||||
document.getElementById("areah").value = 'null';
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 4 $
|
||||
$Modtime: 6-07-11 9:59 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 11-01-12 8:41 $
|
||||
|
||||
File: alg_ruimteafdeling.js
|
||||
*/
|
||||
@@ -22,7 +22,7 @@ function onDblClickItem(tr) {
|
||||
function CreateRow(afd_key, afd_name, bezetting)
|
||||
{
|
||||
rowIndex++;
|
||||
table = document.all.afdbezettingtable;
|
||||
table = document.getElementById("afdbezettingtable");
|
||||
|
||||
// Insert data rows
|
||||
tr = table.insertRow();
|
||||
@@ -52,7 +52,7 @@ function CreateRow(afd_key, afd_name, bezetting)
|
||||
+ "<input type='hidden' id='afd" + rowIndex + "' name='afd" + rowIndex + "' value='" + afd_key + "'></input>";
|
||||
cell.align = 'left';
|
||||
|
||||
document.all.nrRows.value = parseInt(rowIndex) + 1;
|
||||
document.getElementById("nrRows").value = parseInt(rowIndex) + 1;
|
||||
}
|
||||
|
||||
function delRow(img)
|
||||
@@ -63,7 +63,7 @@ function delRow(img)
|
||||
var tr = $(img).closest("tr")[0];
|
||||
if (tr.myData.afd_key != null)
|
||||
{
|
||||
document.all.afdbezettingtable.deleteRow(tr.rowIndex);
|
||||
document.getElementById("afdbezettingtable").deleteRow(tr.rowIndex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 11 $
|
||||
$Modtime: 8-08-11 15:36 $
|
||||
$Revision: 12 $
|
||||
$Modtime: 11-01-12 9:34 $
|
||||
|
||||
File: bes_bestelling.js
|
||||
Description: Javascript code voor bes_xxxx_bestelling
|
||||
@@ -33,7 +33,7 @@ function process_besteller_info(prs_info)
|
||||
|
||||
function showPicture(logo_url)
|
||||
{
|
||||
var imgObj = document.all.photo;
|
||||
var imgObj = document.getElementById("photo");
|
||||
if (imgObj == null) return;
|
||||
|
||||
if (logo_url&&logo_url != "")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE="JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 54 $
|
||||
$Modtime: 23-11-11 14:19 $
|
||||
$Revision: 55 $
|
||||
$Modtime: 11-01-12 9:35 $
|
||||
|
||||
File: bes_edit_bestelling.asp
|
||||
Description: Muteerscherm voor bestellingen
|
||||
@@ -239,7 +239,7 @@ else // nieuwe bestelling. Defaults bepalen
|
||||
}
|
||||
}
|
||||
|
||||
var frm = window.document.all.item("u2");
|
||||
var frm = window.document.getElementById("u2");
|
||||
var prop = $(zelf);
|
||||
if (prop.length)
|
||||
{
|
||||
@@ -327,7 +327,7 @@ else // nieuwe bestelling. Defaults bepalen
|
||||
{
|
||||
if (!fronto && !backo)
|
||||
{ // frontend %>
|
||||
var frm = window.document.all.item("u2");
|
||||
var frm = window.document.getElementById("u2");
|
||||
if (frm.ordernr) {
|
||||
<% if (show_ordernr == 2)
|
||||
{ %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE="JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 12 $
|
||||
$Modtime: 21-11-11 9:21 $
|
||||
$Revision: 13 $
|
||||
$Modtime: 11-01-12 10:13 $
|
||||
|
||||
File: kenmerk_fill.asp
|
||||
Status:
|
||||
@@ -78,26 +78,26 @@ function doSubmit()
|
||||
objReturn[3] = new Array(); // flexkenmerkwaarde omschrijving
|
||||
objReturn[4] = new Array(); // url
|
||||
|
||||
for (var i=1; i<=window.document.all.k_all.value; i++) {
|
||||
if (window.document.all['k' + i + 'val']) {
|
||||
for (var i=1; i<=window.document.getElementById("k_all").value; i++) {
|
||||
if (window.document.getElementById("k" + i + "val")) {
|
||||
|
||||
if (window.document.all['k' + i + 'val'].value != "")
|
||||
if (window.document.getElementById("k" + i + "val").value != "")
|
||||
{
|
||||
objReturn[0][objReturn[0].length] = window.document.all['k' + i + 'key'].value;
|
||||
objReturn[1][objReturn[1].length] = window.document.all['k' + i + 'val'].value;
|
||||
objReturn[0][objReturn[0].length] = window.document.getElementById('k' + i + 'key').value;
|
||||
objReturn[1][objReturn[1].length] = window.document.getElementById('k' + i + 'val').value;
|
||||
var lbl = $("label[for='k" + i + "val']").text();
|
||||
// skip : (haal dubbele punt van de string af)
|
||||
lbl = lbl.substring(0, lbl.length - 1)
|
||||
objReturn[2][objReturn[2].length] = lbl;
|
||||
|
||||
if (window.document.all['k' + i + 't'] && window.document.all['k' + i + 't'].value == 'R') {
|
||||
var opts = window.document.all['k' + i + 'val'].options;
|
||||
if (window.document.getElementById('k' + i + 't') && window.document.getElementById('k' + i + 't').value == 'R') {
|
||||
var opts = window.document.getElementById('k' + i + 'val').options;
|
||||
key = opts(opts.selectedIndex).innerText;
|
||||
objReturn[3][objReturn[3].length] = key;
|
||||
}
|
||||
else {
|
||||
//alert("key = " + window.document.all['k' + i + 'val'].value);
|
||||
objReturn[3][objReturn[3].length] = window.document.all['k' + i + 'val'].value;
|
||||
//alert("key = " + window.document.getElementById('k' + i + 'val').value);
|
||||
objReturn[3][objReturn[3].length] = window.document.getElementById('k' + i + 'val').value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE="JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 14 $
|
||||
$Modtime: 19-04-11 11:47 $
|
||||
$Revision: 15 $
|
||||
$Modtime: 11-01-12 10:19 $
|
||||
|
||||
File: bes_retour.asp
|
||||
Description: Retour van een bestelling door middel van negatieve aantallen
|
||||
@@ -78,7 +78,7 @@ user.auth_required_or_abort(this_bes.canRetourBES);
|
||||
if( val == "" || val == 0 || (!isNaN(val) && isGoodNumber(val, true) &&
|
||||
parseInt(val,10) >= 0 )) {
|
||||
i = obj.id.substring(3);
|
||||
remaining = parseInt(document.all['rem'+i].value,10);
|
||||
remaining = parseInt(document.getElementById('rem'+i).value,10);
|
||||
if( val == "" ) val = 0;
|
||||
if( val > remaining ){
|
||||
alert (LCL.bes.exceed_value_retour);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 3 $
|
||||
$Modtime: 11-01-10 13:03 $
|
||||
$Revision: 4 $
|
||||
$Modtime: 11-01-12 10:29 $
|
||||
|
||||
File: bes_search.js
|
||||
Status: 95%
|
||||
@@ -13,23 +13,23 @@
|
||||
|
||||
function checkCheckboxesRFO()
|
||||
{
|
||||
if (!document.all.rfoNew.checked &&
|
||||
!document.all.rfoOpen.checked &&
|
||||
!document.all.rfoDelivered.checked &&
|
||||
(document.all.rfoClosed && !document.all.rfoClosed.checked))
|
||||
if (!document.getElementById("rfoNew").checked &&
|
||||
!document.getElementById("rfoOpen").checked &&
|
||||
!document.getElementById("rfoDelivered").checked &&
|
||||
(document.getElementById("rfoClosed") && !document.getElementById("rfoClosed").checked))
|
||||
{
|
||||
document.all.rfoNew.checked = true;
|
||||
document.getElementById("rfoNew").checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
function checkCheckboxesOpdr()
|
||||
{
|
||||
if (!document.all.opdrRej.checked &&
|
||||
!document.all.opdrOpen.checked &&
|
||||
!document.all.opdrDelivered.checked &&
|
||||
!document.all.opdrClosed.checked)
|
||||
if (!document.getElementById("opdrRej").checked &&
|
||||
!document.getElementById("opdrOpen").checked &&
|
||||
!document.getElementById("opdrDelivered").checked &&
|
||||
!document.getElementById("opdrClosed").checked)
|
||||
{
|
||||
document.all.opdrOpen.checked = true;
|
||||
document.getElementById("opdrOpen").checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 4 $
|
||||
$Modtime: 3-02-10 10:45 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 11-01-12 10:26 $
|
||||
*/
|
||||
|
||||
var rowIndex = -1;
|
||||
@@ -35,7 +35,7 @@ function AddItem(fav_name, bes_item_info, recent_date, recent, fav_key)
|
||||
function CreateRow(fav_name, bes_item_info, recent_date, recent, fav_key)
|
||||
{
|
||||
rowIndex++;
|
||||
table = document.all.besfavtable;
|
||||
table = document.getElementById("besfavtable");
|
||||
|
||||
// Insert data rows
|
||||
tr = table.insertRow();
|
||||
@@ -81,10 +81,10 @@ function delFavourites(img)
|
||||
{
|
||||
fav_key = tr.myData.fav_key;
|
||||
|
||||
document.all.besfavtable.deleteRow(tr.rowIndex);
|
||||
document.getElementById("besfavtable").deleteRow(tr.rowIndex);
|
||||
|
||||
document.all.itemsInList.value = document.all.itemsInList.value -1;
|
||||
document.all.item_in_list.innerHTML = document.all.itemsInList.value + " " + lcl_BES_fac_items_inlist
|
||||
document.getElementById("itemsInList").value = document.getElementById("itemsInList").value -1;
|
||||
document.getElementById("item_in_list").innerHTML = document.getElementById("itemsInList").value + " " + lcl_BES_fac_items_inlist
|
||||
|
||||
$.post("delFavourites.asp?fav_key=" + fav_key);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 3 $
|
||||
$Modtime: 10-02-10 21:04 $
|
||||
$Revision: 4 $
|
||||
$Modtime: 11-01-12 10:27 $
|
||||
*/
|
||||
|
||||
function BI(bikey, pkey, akey)
|
||||
@@ -25,7 +25,7 @@ function checkInput()
|
||||
val = obj.value;
|
||||
|
||||
i = obj.id.substring(3);
|
||||
remaining = parseInt(document.all['rem'+i].value,10);
|
||||
remaining = parseInt(document.getElementById('rem'+i).value,10);
|
||||
if( val == "" || val == 0 || (!isNaN(val) && isGoodNumber(val, true) &&
|
||||
((remaining > 0 && parseInt(val,10) >= 0) || (remaining < 0 && parseInt(val,10) <= 0)))) {
|
||||
if( val == "" ) val = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 25 $
|
||||
$Modtime: 2-01-12 16:45 $
|
||||
$Revision: 26 $
|
||||
$Modtime: 11-01-12 10:28 $
|
||||
|
||||
File: sel_items_tab.js
|
||||
Description: Javascript code om client-side de HTML tabel met bestelitems te vullen
|
||||
@@ -421,7 +421,7 @@ function MakeOrder ()
|
||||
|
||||
function Communication()
|
||||
{
|
||||
bes_key = document.all.RFO_key.value;
|
||||
bes_key = document.getElementById("RFO_key").value;
|
||||
$.post("bes_levopm.asp",
|
||||
{ bes_key: bes_key },
|
||||
FcltCallback,
|
||||
@@ -430,10 +430,10 @@ function Communication()
|
||||
|
||||
function showStaffels(pid_key)
|
||||
{
|
||||
if (document.all.item('div' + pid_key).style.display == "block")
|
||||
document.all.item('div' + pid_key).style.display = "none";
|
||||
else if (document.all.item('div' + pid_key).style.display == "none")
|
||||
document.all.item('div' + pid_key).style.display = "block";
|
||||
if (document.getElementById('div' + pid_key).style.display == "block")
|
||||
document.getElementById('div' + pid_key).style.display = "none";
|
||||
else if (document.getElementById('div' + pid_key).style.display == "none")
|
||||
document.getElementById('div' + pid_key).style.display = "block";
|
||||
}
|
||||
|
||||
function PrsStaffelListResult(prs_bedrijf_key)
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
/*
|
||||
$Revision: 1 $
|
||||
$Modtime: 27-05-09 9:11 $
|
||||
$Revision: 2 $
|
||||
$Modtime: 11-01-12 10:34 $
|
||||
*/
|
||||
|
||||
function checkCheckboxes()
|
||||
{
|
||||
if (vis_checkout_enable)
|
||||
{
|
||||
if (!document.all.bezExpect.checked &&
|
||||
!document.all.bezInside.checked &&
|
||||
!document.all.bezDepart.checked)
|
||||
if (!document.getElementById("bezExpect").checked &&
|
||||
!document.getElementById("bezInside").checked &&
|
||||
!document.getElementById("bezDepart").checked)
|
||||
{
|
||||
document.all.bezExpect.checked = true;
|
||||
document.getElementById("bezExpect").checked = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!document.all.bezExpect.checked &&
|
||||
!document.all.bezClosed.checked)
|
||||
if (!document.getElementById("bezExpect").checked &&
|
||||
!document.getElementById("bezClosed").checked)
|
||||
{
|
||||
document.all.bezExpect.checked = true;
|
||||
document.getElementById("bezExpect").checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 5 $
|
||||
$Modtime: 5-07-10 13:55 $
|
||||
$Revision: 6 $
|
||||
$Modtime: 11-01-12 10:45 $
|
||||
|
||||
File: cnt_edit_scope.js
|
||||
*/
|
||||
@@ -171,8 +171,8 @@ function removeObj()
|
||||
if (highlitedRowObj > 0)
|
||||
{
|
||||
deletingRow = "row" + highlitedRowObj;
|
||||
index = document.all.item(deletingRow).rowIndex;
|
||||
document.all.cntobjscope_list.deleteRow(index);
|
||||
index = document.getElementById("deletingRow").rowIndex;
|
||||
document.getElementById("cntobjscope_list").deleteRow(index);
|
||||
highlitedRowObj = -1;
|
||||
}
|
||||
}
|
||||
@@ -182,8 +182,8 @@ function removeObjSort()
|
||||
if (highlitedRowObjSort > 0)
|
||||
{
|
||||
deletingRow = "row" + highlitedRowObjSort;
|
||||
index = document.all.item(deletingRow).rowIndex;
|
||||
document.all.cntobjsortscope_list.deleteRow(index);
|
||||
index = document.getElementById("deletingRow").rowIndex;
|
||||
document.getElementById("cntobjsortscope_list").deleteRow(index);
|
||||
highlitedRowObjSort = -1;
|
||||
}
|
||||
}
|
||||
@@ -193,28 +193,28 @@ function removeLoc()
|
||||
if (highlitedRowLoc > 0)
|
||||
{
|
||||
deletingRow = "row" + highlitedRowLoc;
|
||||
index = document.all.item(deletingRow).rowIndex;
|
||||
document.all.cntlocscope_list.deleteRow(index);
|
||||
index = document.getElementById("deletingRow").rowIndex;
|
||||
document.getElementById("cntlocscope_list").deleteRow(index);
|
||||
highlitedRowLoc = -1;
|
||||
}
|
||||
}
|
||||
|
||||
function removeAllObj()
|
||||
{
|
||||
document.all.objpass.innerHTML = "<TABLE border=0 cellpadding=0 width=100% cellspacing=1 id='cntobjscope_list'></TABLE>";
|
||||
document.all.objcnt.value = 0;
|
||||
document.getElementById("objpass").innerHTML = "<TABLE border=0 cellpadding=0 width=100% cellspacing=1 id='cntobjscope_list'></TABLE>";
|
||||
document.getElementById("objcnt").value = 0;
|
||||
}
|
||||
|
||||
function removeAllObjSort()
|
||||
{
|
||||
document.all.ospass.innerHTML = "<TABLE border=0 cellpadding=0 width=100% cellspacing=1 id='cntobjsortscope_list'></TABLE>";
|
||||
document.all.oscnt.value = 0;
|
||||
document.getElementById("ospass").innerHTML = "<TABLE border=0 cellpadding=0 width=100% cellspacing=1 id='cntobjsortscope_list'></TABLE>";
|
||||
document.getElementById("oscnt").value = 0;
|
||||
}
|
||||
|
||||
function removeAllLoc()
|
||||
{
|
||||
document.all.locpass.innerHTML = "<TABLE border=0 cellpadding=0 width=100% cellspacing=1 id='cntlocscope_list'></TABLE>";
|
||||
document.all.loccnt.value = 0;
|
||||
document.getElementById("locpass").innerHTML = "<TABLE border=0 cellpadding=0 width=100% cellspacing=1 id='cntlocscope_list'></TABLE>";
|
||||
document.getElementById("loccnt").value = 0;
|
||||
}
|
||||
|
||||
function addObj()
|
||||
@@ -231,7 +231,7 @@ function addObj()
|
||||
|
||||
for (var i = 0; i < object_key_str.length; i++)
|
||||
{
|
||||
if (!itemObjExist( document.all.cntobjscope_list, object_text_str[i])) // && object_key_str[i] != -1)
|
||||
if (!itemObjExist( document.getElementById("cntobjscope_list"), object_text_str[i])) // && object_key_str[i] != -1)
|
||||
{
|
||||
insertObjRow(object_text_str[i], object_key_str[i]);
|
||||
}
|
||||
@@ -249,7 +249,7 @@ function addObjSort()
|
||||
});
|
||||
for (var i = 0; i < sorts_key_str.length; i++)
|
||||
{
|
||||
if (!itemObjSortExist(document.all.cntobjsortscope_list, sorts_text_str[i]))
|
||||
if (!itemObjSortExist(document.getElementById("cntobjsortscope_list"), sorts_text_str[i]))
|
||||
{
|
||||
insertObjSortRow(sorts_text_str[i], sorts_key_str[i]);
|
||||
}
|
||||
@@ -281,7 +281,7 @@ function addLoc()
|
||||
|
||||
for (var i = 0; i < locatie_key_str.length; i++)
|
||||
{
|
||||
if (!itemLocExist(document.all.cntlocscope_list, locatie_text_str[i]))
|
||||
if (!itemLocExist(document.getElementById("cntlocscope_list"), locatie_text_str[i]))
|
||||
{
|
||||
insertLocRow(locatie_text_str[i], locatie_key_str[i], "L");
|
||||
}
|
||||
@@ -291,7 +291,7 @@ function addLoc()
|
||||
{
|
||||
for (var i = 0; i < gebouw_key_str.length; i++)
|
||||
{
|
||||
if (!itemBldExist( document.all.cntlocscope_list, gebouw_loctext_str[i], gebouw_text_str[i]) && gebouw_key_str[i] != -1)
|
||||
if (!itemBldExist( document.getElementById("cntlocscope_list"), gebouw_loctext_str[i], gebouw_text_str[i]) && gebouw_key_str[i] != -1)
|
||||
{
|
||||
insertLocRow(gebouw_loctext_str[i] + " (" + gebouw_text_str[i] + ")", gebouw_key_str[i], "G");
|
||||
}
|
||||
@@ -383,8 +383,8 @@ function selectLocRow(rownr)
|
||||
|
||||
function insertObjRow(name, key)
|
||||
{
|
||||
var html = document.all.objpass.innerHTML.substr(0, document.all.objpass.innerHTML.indexOf("</TBODY>"));
|
||||
j = parseInt(document.all.objcnt.value, 10) + 1;
|
||||
var html = document.getElementById("objpass").innerHTML.substr(0, document.getElementById("objpass").innerHTML.indexOf("</TBODY>"));
|
||||
j = parseInt(document.getElementById("objcnt").value, 10) + 1;
|
||||
|
||||
html += "<tr id='row" + (j + 1000) + "' OnClick='javascript:selectObjRow(" + (j + 1000) + ");'>"
|
||||
+ "<td class=selectable align=left id=obj>" + name + "</td>"
|
||||
@@ -394,16 +394,16 @@ function insertObjRow(name, key)
|
||||
+ "</td></tr>"
|
||||
+ "</TBODY></TABLE>";
|
||||
|
||||
document.all.objpass.innerHTML = html;
|
||||
document.all.objcnt.value = j;
|
||||
document.getElementById("objpass").innerHTML = html;
|
||||
document.getElementById("objcnt").value = j;
|
||||
if (parent && parent.ExpandFrame)
|
||||
parent.ExpandFrame(window.name);
|
||||
}
|
||||
|
||||
function insertObjSortRow(name, key)
|
||||
{
|
||||
var html = document.all.ospass.innerHTML.substr(0, document.all.ospass.innerHTML.indexOf("</TBODY>"));
|
||||
j = parseInt(document.all.oscnt.value, 10) + 1;
|
||||
var html = document.getElementById("ospass").innerHTML.substr(0, document.getElementById("ospass").innerHTML.indexOf("</TBODY>"));
|
||||
j = parseInt(document.getElementById("oscnt").value, 10) + 1;
|
||||
|
||||
html += "<tr id='row" + (j + 1000) + "' OnClick='javascript:selectObjSortRow(" + (j + 1000) + ");'>"
|
||||
+ "<td class=selectable align=left id=obsort>" + name + "</td>"
|
||||
@@ -413,16 +413,16 @@ function insertObjSortRow(name, key)
|
||||
+ "</td></tr>"
|
||||
+ "</TBODY></TABLE>";
|
||||
|
||||
document.all.ospass.innerHTML = html;
|
||||
document.all.oscnt.value = j;
|
||||
document.getElementById("ospass").innerHTML = html;
|
||||
document.getElementById("oscnt").value = j;
|
||||
if (parent && parent.ExpandFrame)
|
||||
parent.ExpandFrame(window.name);
|
||||
}
|
||||
|
||||
function insertLocRow(name, key, type)
|
||||
{
|
||||
var html = document.all.locpass.innerHTML.substr(0, document.all.locpass.innerHTML.indexOf("</TBODY>"));
|
||||
j = parseInt(document.all.loccnt.value, 10) + 1;
|
||||
var html = document.getElementById("locpass").innerHTML.substr(0, document.getElementById("locpass").innerHTML.indexOf("</TBODY>"));
|
||||
j = parseInt(document.getElementById("loccnt").value, 10) + 1;
|
||||
|
||||
html += "<tr id='row" + j+ "' OnClick='javascript:selectLocRow(" + j + ");'>"
|
||||
+ "<td class=selectable align=left id=loc>" + name + "</td>"
|
||||
@@ -435,8 +435,8 @@ function insertLocRow(name, key, type)
|
||||
+ "</td></tr>"
|
||||
+ "</TBODY></TABLE>";
|
||||
|
||||
document.all.locpass.innerHTML = html;
|
||||
document.all.loccnt.value = j;
|
||||
document.getElementById("locpass").innerHTML = html;
|
||||
document.getElementById("loccnt").value = j;
|
||||
if (parent && parent.ExpandFrame)
|
||||
parent.ExpandFrame(window.name);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language="javascript"%>
|
||||
<% /*
|
||||
$Revision: 25 $
|
||||
$Modtime: 5-01-12 9:13 $
|
||||
$Revision: 26 $
|
||||
$Modtime: 11-01-12 10:49 $
|
||||
|
||||
File: fac_fiatering_list.asp (was bes/rfo_approve.asp)
|
||||
Description: Overzicht fiatteringsverzoeken
|
||||
@@ -56,11 +56,11 @@ var showall = getQParamInt("showall", 0) == 1;
|
||||
<script>
|
||||
function checkCheckboxes()
|
||||
{
|
||||
if (!document.all.copen.checked &&
|
||||
!document.all.cclose.checked &&
|
||||
!document.all.creject.checked)
|
||||
if (!document.getElementById("copen").checked &&
|
||||
!document.getElementById("cclose").checked &&
|
||||
!document.getElementById("creject").checked)
|
||||
{
|
||||
document.all.copen.checked = true;
|
||||
document.getElementById("copen").checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 5 $
|
||||
$Modtime: 2-02-11 17:36 $
|
||||
$Revision: 6 $
|
||||
$Modtime: 11-01-12 10:51 $
|
||||
|
||||
File: fac_usrrap_infobord.asp
|
||||
Description: Toon een bepaald (usr)rapport en ververs deze regelmatig
|
||||
@@ -78,7 +78,7 @@ function startSearch()
|
||||
cmd += "<%=transitParam%>";
|
||||
|
||||
|
||||
if (document.all.activeFrame.value == 2)
|
||||
if (document.getElementById("activeFrame").value == 2)
|
||||
window.frames.workFrame3.navigate(cmd);
|
||||
else
|
||||
window.frames.workFrame2.navigate(cmd);
|
||||
@@ -89,15 +89,15 @@ function Activate()
|
||||
{
|
||||
d2 = document.getElementById("workFrame2");
|
||||
d3 = document.getElementById("workFrame3");
|
||||
if (document.all.activeFrame.value == 2) {
|
||||
if (document.getElementById("activeFrame").value == 2) {
|
||||
d2.style.zIndex =-1;
|
||||
d3.style.zIndex =1;
|
||||
document.all.activeFrame.value = 3;
|
||||
document.getElementById("activeFrame").value = 3;
|
||||
}
|
||||
else {
|
||||
d3.style.zIndex =-1;
|
||||
d2.style.zIndex =1;
|
||||
document.all.activeFrame.value = 2;
|
||||
document.getElementById("activeFrame").value = 2;
|
||||
}
|
||||
$("#workFrame2").width($(window).width());
|
||||
$("#workFrame3").width($(window).width());
|
||||
@@ -106,12 +106,12 @@ function Activate()
|
||||
}
|
||||
|
||||
function startAutoRefreshTimer() {
|
||||
if (document.all.timeID.value>0) {
|
||||
clearInterval(document.all.timeID.value);
|
||||
document.all.timeID.value=-1;
|
||||
if (document.getElementById("timeID").value>0) {
|
||||
clearInterval(document.getElementById("timeID").value);
|
||||
document.getElementById("timeID").value=-1;
|
||||
}
|
||||
if (<%=p_refreshrate%> != -1) {
|
||||
document.all.timeID.value = setInterval('startSearch();', <%=p_refreshrate*1000%>);
|
||||
document.getElementById("timeID").value = setInterval('startSearch();', <%=p_refreshrate*1000%>);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ language="javascript"%>
|
||||
<% /*
|
||||
$Revision: 5 $
|
||||
$Modtime: 10-05-10 17:22 $
|
||||
$Revision: 6 $
|
||||
$Modtime: 11-01-12 14:16 $
|
||||
|
||||
File: job_edit_job.asp
|
||||
Description: show detailed information of a job
|
||||
@@ -14,7 +14,6 @@
|
||||
*/ %>
|
||||
<!-- #include file="../../cust/install.inc"-->
|
||||
<!-- #include file="../Shared/iface.inc"-->
|
||||
<!-- #include file="../Shared/datetime.inc" -->
|
||||
<!-- #include file="../Shared/persoonselector.inc" -->
|
||||
<!-- #include file="../Shared/calendar.inc" -->
|
||||
|
||||
@@ -183,9 +182,9 @@ oRs=Oracle.Execute(sql);
|
||||
}
|
||||
function changeAction() {
|
||||
|
||||
if (document.all.action) {
|
||||
if (document.getElementById("action")) {
|
||||
|
||||
if (document.all.action.value == '1') {
|
||||
if (document.getElementById("action").value == '1') {
|
||||
$('#aantal').val("1");
|
||||
$('#enddate').val("");
|
||||
$('#interval').val("");
|
||||
@@ -197,7 +196,7 @@ function changeAction() {
|
||||
$('#interval').attr("disabled", true);
|
||||
}
|
||||
|
||||
if (document.all.action.value == '2') {
|
||||
if (document.getElementById("action").value == '2') {
|
||||
$('#aantal').removeAttr("disabled");
|
||||
$('#aantal').val("");
|
||||
|
||||
@@ -207,7 +206,7 @@ function changeAction() {
|
||||
$('#interval').removeAttr("disabled");
|
||||
}
|
||||
|
||||
if (document.all.action.value == '3') {
|
||||
if (document.getElementById("action").value == '3') {
|
||||
$('#show_enddate').val("");
|
||||
|
||||
$('#aantal').removeAttr("disabled");
|
||||
@@ -226,18 +225,18 @@ function checkInput() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (document.all.show_firstdate.value == '') {
|
||||
if (document.getElementById("show_firstdate").value == '') {
|
||||
alert("<%=lcl_job_firstdate_empty%>");
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((document.all.show_enddate.value == '') && (document.all.action.value == '2')) {
|
||||
if ((document.getElementById("show_enddate").value == '') && (document.getElementById("action").value == '2')) {
|
||||
alert("<%=lcl_job_enddate_empty%>");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (document.all.interval) {
|
||||
interval_value = document.all.interval.value;
|
||||
if (document.getElementById("interval")) {
|
||||
interval_value = document.getElementById("interval").value;
|
||||
if (interval_value != '') {
|
||||
if (!isGoodInteger(interval_value) || (interval_value < 0)) {
|
||||
valid = false;
|
||||
@@ -249,9 +248,9 @@ function checkInput() {
|
||||
}
|
||||
}
|
||||
|
||||
if (document.all.aantal) {
|
||||
aantal_value = document.all.aantal.value;
|
||||
if ((aantal_value != '') || (document.all.action.value == '3')) {
|
||||
if (document.getElementById("aantal")) {
|
||||
aantal_value = document.getElementById("aantal").value;
|
||||
if ((aantal_value != '') || (document.getElementById("action").value == '3')) {
|
||||
if (!isGoodInteger(aantal_value) || (aantal_value<=0)) {
|
||||
valid = false;
|
||||
if( ! valid ) {
|
||||
@@ -366,12 +365,12 @@ BLOCK_END();
|
||||
</body>
|
||||
</html>
|
||||
<script>
|
||||
if (document.all.status) {
|
||||
document.all.status.value = '<%=status%>';
|
||||
if (document.getElementById("status")) {
|
||||
document.getElementById("status").value = '<%=status%>';
|
||||
}
|
||||
|
||||
if (document.all.action) {
|
||||
document.all.action.value = '<%=action%>';
|
||||
if (document.getElementById("action")) {
|
||||
document.getElementById("action").value = '<%=action%>';
|
||||
changeAction();
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 17 $
|
||||
$Modtime: 22-11-11 13:45 $
|
||||
$Revision: 18 $
|
||||
$Modtime: 11-01-12 11:17 $
|
||||
|
||||
File: fin_edit_factuur.js
|
||||
*/
|
||||
@@ -29,7 +29,7 @@ function checkInput()
|
||||
{
|
||||
if (selectedItems[i] != null)
|
||||
{
|
||||
if (parseFloat(document.all["sum" + i].value.replace(',', '.')) != 0)
|
||||
if (parseFloat(document.getElementById("sum" + i).value.replace(',', '.')) != 0)
|
||||
filled_lines++;
|
||||
else
|
||||
blank_lines++;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 23 $
|
||||
$Modtime: 7-12-11 10:37 $
|
||||
$Revision: 24 $
|
||||
$Modtime: 11-01-12 11:20 $
|
||||
|
||||
File: fin_search.asp
|
||||
Description: Filterscherm voor overzicht facturen
|
||||
@@ -90,8 +90,8 @@ var alleenmijnkostenplaatsen = (!authparamsFINFOF && !authparamsFINBOF); // gee
|
||||
<script language=JavaScript>
|
||||
function checkboxStatus()
|
||||
{
|
||||
if (!document.all.fin_actual.checked && !document.all.fin_deleted.checked )
|
||||
document.all.fin_actual.checked = true;
|
||||
if (!document.getElementById("fin_actual").checked && !document.getElementById("fin_deleted").checked )
|
||||
document.getElementById("fin_actual").checked = true;
|
||||
}
|
||||
|
||||
// Altijd kenmerken. Niet afhankelijk van backoffice rol
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 15 $
|
||||
$Modtime: 11-12-11 12:31 $
|
||||
$Revision: 16 $
|
||||
$Modtime: 11-01-12 11:41 $
|
||||
*/
|
||||
|
||||
function FinItem(sum, BTW, btwkey, descr, referentie, row)
|
||||
@@ -71,7 +71,7 @@ function setPrice(index, sum)
|
||||
document.forms.u2["oldsum" + index].value = num2curr(new_sum);
|
||||
document.forms.u2.total.value = num2curr(total);
|
||||
document.forms.u2.totalBTW.value = num2curr(totalBTW);
|
||||
document.all.totalBTW_txt.innerHTML = currency_pref + num2curr(parseFloat(totalBTW)) + currency_suff;
|
||||
document.getElementById("totalBTW_txt").innerHTML = currency_pref + num2curr(parseFloat(totalBTW)) + currency_suff;
|
||||
}
|
||||
|
||||
function CreateRow(sum, BTW, btwkey, sumBTW, descr, ref, ksrt_key, ksrt_oms)
|
||||
@@ -93,14 +93,14 @@ function CreateRow(sum, BTW, btwkey, sumBTW, descr, ref, ksrt_key, ksrt_oms)
|
||||
cell = tr.insertCell(-1);
|
||||
cell.innerHTML = "<input type='text' class='fld'"
|
||||
+ (canInvLinChange? "" : " readonly ")
|
||||
+ " onfocus='document.all.descript" + rowIndex + ".select();'"
|
||||
+ " onfocus='document.descript" + rowIndex + ".select();'"
|
||||
+ " id='descript" + rowIndex + "' name='descript" + rowIndex + "' maxlength=50 value='" + descr + "'>";
|
||||
|
||||
// Create reference field
|
||||
cell = tr.insertCell(-1);
|
||||
cell.innerHTML = "<input type='text' class='fldfinref'"
|
||||
+ (canInvLinChange? "" : " readonly ")
|
||||
+ " onfocus='document.all.ref" + rowIndex + ".select();'"
|
||||
+ " onfocus='document.getElementById(""ref" + rowIndex + """).select():'"
|
||||
+ " id='ref" + rowIndex + "' name='ref" + rowIndex + "' maxlength=30 value='" + ref + "'>";
|
||||
|
||||
if (fin_enable_kostensoort != 0)
|
||||
@@ -130,7 +130,7 @@ function CreateRow(sum, BTW, btwkey, sumBTW, descr, ref, ksrt_key, ksrt_oms)
|
||||
cell = tr.insertCell(-1);
|
||||
cell.innerHTML = "<input type='text' class='fldfinsom'"
|
||||
+ (canInvLinChange? "" : " readonly ")
|
||||
+ " onfocus='document.all.sum" + rowIndex + ".select();'"
|
||||
+ " onfocus='document.getElementById(""sum" + rowIndex + """).select();'"
|
||||
+ (canInvLinChange? " onblur='SumChanged();'" : "")
|
||||
+ " id='sum" + rowIndex + "' name='sum" + rowIndex + "' maxlength=10 value='" + num2curr(sum) + "'>"
|
||||
+ "<input type='hidden' id='oldsum" + rowIndex + "' name='oldsum" + rowIndex + "' value='" + num2curr(sum) + "'>";
|
||||
@@ -173,8 +173,8 @@ function CreateRow(sum, BTW, btwkey, sumBTW, descr, ref, ksrt_key, ksrt_oms)
|
||||
document.forms.u2.rowIndex.value = rowIndex;
|
||||
document.forms.u2.total.value = num2curr(total);
|
||||
document.forms.u2.totalBTW.value = num2curr(totalBTW);
|
||||
document.all.totalBTW_txt.innerHTML = currency_pref + num2curr(totalBTW) + currency_suff;
|
||||
document.all["descript" + rowIndex].focus();
|
||||
document.getElementById("totalBTW_txt").innerHTML = currency_pref + num2curr(totalBTW) + currency_suff;
|
||||
document.getElementById("descript" + rowIndex).focus();
|
||||
}
|
||||
|
||||
if (canInvLinChange)
|
||||
@@ -200,13 +200,13 @@ function CancelOrder(index)
|
||||
totalBTW -= sumBTW_item;
|
||||
total -= sum_item;
|
||||
document.forms.u2.totalBTW.value = num2curr(totalBTW);
|
||||
document.all.totalBTW_txt.innerHTML = currency_pref + num2curr(totalBTW) + currency_suff;
|
||||
document.getElementById("totalBTW_txt").innerHTML = currency_pref + num2curr(totalBTW) + currency_suff;
|
||||
document.forms.u2.total.value = num2curr(total);
|
||||
|
||||
tr = selectedItems[index].row;
|
||||
|
||||
trIndex = tr.rowIndex;
|
||||
document.all.sel_items.deleteRow(trIndex);
|
||||
document.getElementById("sel_items").deleteRow(trIndex);
|
||||
|
||||
selectedItems[index].row = null;
|
||||
selectedItems[index] = null;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 1 $
|
||||
$Modtime: 24-08-11 10:02 $
|
||||
$Revision: 2 $
|
||||
$Modtime: 11-01-12 11:42 $
|
||||
|
||||
File: ins_deelkoppeling.js
|
||||
*/
|
||||
@@ -10,7 +10,7 @@ var rowIndex = -1;
|
||||
function CreateRow(naar_key, srtdeel_name, naar_name, naar_desc)
|
||||
{
|
||||
rowIndex++;
|
||||
table = document.all.naar_desctable;
|
||||
table = document.getElementById("naar_desctable");
|
||||
|
||||
// Insert data rows
|
||||
tr = table.insertRow();
|
||||
@@ -47,7 +47,7 @@ function CreateRow(naar_key, srtdeel_name, naar_name, naar_desc)
|
||||
+ "<input type='hidden' id='naar" + rowIndex + "' name='naar" + rowIndex + "' value='" + naar_key + "'>";
|
||||
cell.align = 'left';
|
||||
|
||||
document.all.nrRows.value = parseInt(rowIndex) + 1;
|
||||
document.getElementById("nrRows").value = parseInt(rowIndex) + 1;
|
||||
}
|
||||
|
||||
function delRow(img)
|
||||
@@ -56,7 +56,7 @@ function delRow(img)
|
||||
var tr = $(img).closest("tr")[0];
|
||||
if (tr.myData.naar_key != null)
|
||||
{
|
||||
document.all.naar_desctable.deleteRow(tr.rowIndex);
|
||||
document.getElementById("naar_desctable").deleteRow(tr.rowIndex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 17 $
|
||||
$Modtime: 21-11-11 16:46 $
|
||||
$Revision: 18 $
|
||||
$Modtime: 11-01-12 11:43 $
|
||||
|
||||
File: INS/ins_list.js
|
||||
*/
|
||||
@@ -75,7 +75,7 @@ function checkInput()
|
||||
(!isNaN(new_val) && isGoodNumber(new_val, true) && parseInt(new_val,10) >= 0))
|
||||
{
|
||||
i = obj.id.substring(3);
|
||||
last_value = parseInt(document.all['last_val' + i].value,10);
|
||||
last_value = parseInt(document.getElementById("last_val" + i).value,10);
|
||||
if (new_val == "") new_val = last_value;
|
||||
if (new_val < last_value)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 7 $
|
||||
$Modtime: 4-07-11 14:16 $
|
||||
$Revision: 8 $
|
||||
$Modtime: 11-01-12 11:44 $
|
||||
*/
|
||||
|
||||
// FO en BO functions
|
||||
@@ -37,11 +37,11 @@ function updateSrtDeel(pautfunction, psrtdeel_str)
|
||||
|
||||
function checkLentOut(id)
|
||||
{
|
||||
if (!document.all.insLentOut.checked && !document.all.insAvail.checked) {
|
||||
if (!document.getElementById("insLentOut").checked && !document.getElementById("insAvail").checked) {
|
||||
if (id == 2)
|
||||
document.all.insLentOut.checked = true;
|
||||
document.getElementById("insLentOut").checked = true;
|
||||
else
|
||||
document.all.insAvail.checked = true;
|
||||
document.getElementById("insAvail").checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 2 $
|
||||
$Modtime: 1/14/10 11:56a $
|
||||
$Revision: 3 $
|
||||
$Modtime: 11-01-12 11:44 $
|
||||
*/
|
||||
function isGoodNumber(str, checkInteger)
|
||||
{
|
||||
@@ -38,7 +38,7 @@ function checkInput()
|
||||
parseInt(new_val,10) >= 0 )) {
|
||||
|
||||
i = obj.id.substring(3);
|
||||
last_value = parseInt(document.all['last_val'+i].value,10);
|
||||
last_value = parseInt(document.getElementById("last_val"+i].value,10);
|
||||
if( new_val == "" ) new_val = last_value;
|
||||
if( new_val < last_value ){
|
||||
alert(LCL.ins.value_to_low);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 6 $
|
||||
$Modtime: 23-08-11 15:18 $
|
||||
$Revision: 7 $
|
||||
$Modtime: 11-01-12 11:45 $
|
||||
|
||||
load outlet or wallplate kenmerken
|
||||
*/ %>
|
||||
@@ -96,7 +96,7 @@ parent.u2.desc.value = '<%= safe.jsstring(oRs(0).Value) %>';
|
||||
oRs.close();
|
||||
}
|
||||
%>
|
||||
var tab = parent.document.all.<%=tablename%>;
|
||||
var tab = parent.document.getElementById("<%=tablename%>");
|
||||
var kdd=/^k\d+$/;
|
||||
var tr,td=null;
|
||||
|
||||
@@ -107,7 +107,7 @@ for( i=tab.rows.length-1; i>=0; i-- ) {
|
||||
}
|
||||
}
|
||||
|
||||
var txt = parent.document.all.theText;
|
||||
var txt = parent.document.getElementById("theText");
|
||||
var rowIndex = <%=(start_row-2)%>; // not -1 because there is already 1 or more select/input/text-boxen
|
||||
if( txt ) rowIndex = txt.rowIndex;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 10 $
|
||||
$Modtime: 22-11-11 16:22 $
|
||||
$Revision: 11 $
|
||||
$Modtime: 11-01-12 11:47 $
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
@@ -43,7 +43,7 @@ var srtdeel_key_wallplate = oRs(0).value;
|
||||
// vroeger in iface.js
|
||||
function enableButton(id,enable,fn)
|
||||
{
|
||||
bb = document.all[id+'_bg'];
|
||||
bb = document.getElementById(id + "_bg");
|
||||
if( bb )
|
||||
{
|
||||
if( enable ) {
|
||||
@@ -59,8 +59,8 @@ var srtdeel_key_wallplate = oRs(0).value;
|
||||
function PortsUploaded(name, port)
|
||||
{
|
||||
new_ports = window.frames.hidFrame.opt_ports;
|
||||
connect = document.all[name + "con"];
|
||||
sel = document.all[name];
|
||||
connect = document.getElementById(name + "con");
|
||||
sel = document.getElementById(name);
|
||||
sel.options.length = new_ports.length;
|
||||
for (i in new_ports)
|
||||
{
|
||||
@@ -94,8 +94,8 @@ var srtdeel_key_wallplate = oRs(0).value;
|
||||
function updateCon(name)
|
||||
{
|
||||
new_ports = window.frames.hidFrame.opt_ports;
|
||||
connect = document.all[name + "con"];
|
||||
sel = document.all[name];
|
||||
connect = document.getElementById(name + "con");
|
||||
sel = document.getElementById(name);
|
||||
sel.options.length = new_ports.length;
|
||||
for (i in new_ports)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 1 $
|
||||
$Modtime: 1-05-07 14:21 $
|
||||
$Revision: 2 $
|
||||
$Modtime: 11-01-12 13:33 $
|
||||
*/
|
||||
// Add to <select>
|
||||
|
||||
@@ -171,7 +171,7 @@ function autoComplete(s) {
|
||||
// selects
|
||||
function autocompleteAllSelects()
|
||||
{
|
||||
selects = document.all.tags("SELECT");
|
||||
selects = document.getElementsByTagName("SELECT");
|
||||
|
||||
if (selects.length != null)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 4 $
|
||||
$Modtime: 20-01-11 10:16 $
|
||||
$Revision: 5 $
|
||||
$Modtime: 11-01-12 13:36 $
|
||||
*/
|
||||
var cur_c = 0;
|
||||
|
||||
@@ -77,20 +77,20 @@ function SelChange(
|
||||
deflt // Default value
|
||||
) {
|
||||
|
||||
if( document.all[fctrl] == null ) return;
|
||||
if( document.getElementById(fctrl) == null ) return;
|
||||
|
||||
// var tt = document.all[fctrl].options[document.all[fctrl].selectedIndex].value;
|
||||
var tt = parseInt( document.all[fctrl].value, 10 );
|
||||
// var tt = document.getElementById(fctrl).options[document.getElementById(fctrl).selectedIndex].value;
|
||||
var tt = parseInt( document.getElementById(fctrl).value, 10 );
|
||||
|
||||
//if( pctrl=='stdm' ) deflt=m_stdm;
|
||||
|
||||
// Delete old items
|
||||
var itm=document.all[pctrl].options;
|
||||
var itm=document.getElementById(pctrl).options;
|
||||
for(var i=itm.length-1; i>=0; i-- ) {
|
||||
itm.remove(i);
|
||||
}
|
||||
// Insert new items
|
||||
var j=0; if( emp ) { insOpt( '', -1, -1, document.all[pctrl] ); j++; }
|
||||
var j=0; if( emp ) { insOpt( '', -1, -1, document.getElementById(pctrl) ); j++; }
|
||||
var was0 = false, was1 = false, i0 = -1;
|
||||
var ival = 0;
|
||||
|
||||
@@ -102,20 +102,20 @@ function SelChange(
|
||||
was0 = true; i0=i;
|
||||
} else {
|
||||
if( was0 && was1 ) {
|
||||
insOpt( arr[i0].name, arr[i0].pkey, arr[i0].binding, document.all[pctrl], null );
|
||||
insOpt( arr[i0].name, arr[i0].pkey, arr[i0].binding, document.getElementById(pctrl), null );
|
||||
j++;
|
||||
}
|
||||
was1 = true; was0 = false;
|
||||
if( arr[i].pkey == deflt ) ival = j;
|
||||
|
||||
insOpt( arr[i].name, arr[i].pkey, arr[i].binding, document.all[pctrl],
|
||||
insOpt( arr[i].name, arr[i].pkey, arr[i].binding, document.getElementById(pctrl),
|
||||
pctrl=='r_objs' ? room_obj_selected[arr[i].pkey] : false );
|
||||
j++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(pctrl!='r_objs')document.all[pctrl].selectedIndex = ival;
|
||||
if(pctrl!='r_objs')document.getElementById(pctrl).selectedIndex = ival;
|
||||
dec_cc();
|
||||
// =================================
|
||||
// alert(pctrl + ' length = ' + arr.length + ' tt=' + tt);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 2 $
|
||||
$Modtime: 19-01-11 12:36 $
|
||||
$Revision: 3 $
|
||||
$Modtime: 11-01-12 13:49 $
|
||||
|
||||
File: shared/load_exec_time.asp
|
||||
Description: Determine exec time from stdmelding
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
oRs.close();
|
||||
%>
|
||||
window.parent.document.all.stdexec_time.value = <%=exec_time%>;
|
||||
window.parent.document.getElementById("stdexec_time").value = <%=exec_time%>;
|
||||
window.parent.showExecTime(<%=exec_time%>);
|
||||
<%
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 24 $
|
||||
$Modtime: 16-05-11 12:44 $
|
||||
$Revision: 25 $
|
||||
$Modtime: 11-01-12 13:49 $
|
||||
|
||||
File: mld_edit_opdr.js
|
||||
*/
|
||||
@@ -206,7 +206,7 @@ function DateChanged()
|
||||
|
||||
function setImage(id, src)
|
||||
{
|
||||
document.all.item(id).src = "../Pictures/" + src;
|
||||
document.getElementById("id").src = "../Pictures/" + src;
|
||||
}
|
||||
|
||||
function onChangedDienst()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 6 $
|
||||
$Modtime: 1-07-11 16:18 $
|
||||
$Revision: 7 $
|
||||
$Modtime: 11-01-12 14:17 $
|
||||
|
||||
File: msg_edit_message.asp (formerly message.asp)
|
||||
Description: Muteerscherm voor berichten
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
*/ %>
|
||||
<!-- #include file="../../cust/install.inc"-->
|
||||
<!-- #include file="../Shared/datetime.inc"-->
|
||||
<!-- #include file="../Shared/persoonselector.inc" -->
|
||||
<!-- #include file="../Shared/plaatsselector.inc" -->
|
||||
<!-- #include file="../Shared/selector.inc" -->
|
||||
@@ -138,10 +137,10 @@ function checkInput() {
|
||||
}
|
||||
|
||||
function checkNrChar() {
|
||||
if (document.all.ta_message.value.length > 2000) {
|
||||
alert('<%=lcl_mes_to_many_char%>' + ' (' + document.all.ta_message.value.length + '). ' + '<%=lcl_mes_less_500%>');
|
||||
document.all.ta_message.focus();
|
||||
document.all.ta_message.select();
|
||||
if (document.getElementById("ta_message").value.length > 2000) {
|
||||
alert('<%=lcl_mes_to_many_char%>' + ' (' + document.getElementById("ta_message").value.length + '). ' + '<%=lcl_mes_less_500%>');
|
||||
document.getElementById("ta_message").focus();
|
||||
document.getElementById("ta_message").select();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ LANGUAGE = JavaScript %>
|
||||
<% /*
|
||||
$Revision: 9 $
|
||||
$Modtime: 1-07-11 16:18 $
|
||||
$Revision: 10 $
|
||||
$Modtime: 11-01-12 14:15 $
|
||||
|
||||
File: msg_portal_edit.asp
|
||||
Description: Bewerken van een bestaand portal bericht (zal aangemaakt zijn door msg_message.asp?)
|
||||
@@ -13,13 +13,11 @@
|
||||
*/ %>
|
||||
|
||||
<!-- #include file="../../cust/install.inc"-->
|
||||
<!-- #include file="../Shared/datetime.inc"-->
|
||||
<!-- #include file="../Shared/persoonselector.inc" -->
|
||||
<!-- #include file="../Shared/plaatsselector.inc" -->
|
||||
<!-- #include file="../Shared/selector.inc" -->
|
||||
<!-- #include file="../Shared/iface.inc"-->
|
||||
<!-- #include file="../Shared/calendar.inc"-->
|
||||
<!-- #include file="../Shared/datetime.inc"-->
|
||||
|
||||
<%
|
||||
FCLTHeader.Requires({plugins:["jQuery"]});
|
||||
@@ -116,10 +114,10 @@ function msgCancel () {
|
||||
}
|
||||
|
||||
function checkNrChar() {
|
||||
if (document.all.ta_message.value.length > 2000) {
|
||||
alert('<%=lcl_mes_to_many_char%>' + ' (' + document.all.ta_message.value.length + '). ' + '<%=lcl_mes_less_500%>');
|
||||
document.all.ta_message.focus();
|
||||
document.all.ta_message.select();
|
||||
if (document.getElementById("ta_message").value.length > 2000) {
|
||||
alert('<%=lcl_mes_to_many_char%>' + ' (' + document.getElementById("ta_message").value.length + '). ' + '<%=lcl_mes_less_500%>');
|
||||
document.getElementById("ta_message").focus();
|
||||
document.getElementById("ta_message").select();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ language = "JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 6 $
|
||||
$Modtime: 9-03-11 13:44 $
|
||||
$Revision: 7 $
|
||||
$Modtime: 11-01-12 13:52 $
|
||||
|
||||
TODO: styling eruit, kostenplaatsselector toepassen. Verder niets.
|
||||
|
||||
@@ -30,12 +30,12 @@ var date_to = getQParamDate("date_to", new Date());
|
||||
}
|
||||
function checkWhatDate(box) {
|
||||
if (box==1) {
|
||||
if (document.all.uitv_date.checked) document.all.exp_date.checked = false;
|
||||
else document.all.exp_date.checked = true;
|
||||
if (document.getElementById("uitv_date").checked) document.getElementById("exp_date").checked = false;
|
||||
else document.getElementById("exp_date").checked = true;
|
||||
}
|
||||
else if (box==2) {
|
||||
if (document.all.exp_date.checked) document.all.uitv_date.checked = false;
|
||||
else document.all.uitv_date.checked = true;
|
||||
if (document.getElementById("exp_date").checked) document.getElementById("uitv_date").checked = false;
|
||||
else document.getElementById("uitv_date").checked = true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 5 $
|
||||
$Modtime: 23-02-10 9:21 $
|
||||
$Revision: 6 $
|
||||
$Modtime: 11-01-12 13:53 $
|
||||
*/
|
||||
|
||||
//function OrderItem(srtdeel_key, amount, dis_key, price, eenheid, veelvoud, received, retour, rowIndex, item_key)
|
||||
@@ -38,9 +38,9 @@ function AddItem(pprs_key, pprs_name, pdept_name)
|
||||
|
||||
if (this.dis_desc == null) dis_desc = "";
|
||||
|
||||
table = document.all.sel_items;
|
||||
table = document.getElementById("sel_items");
|
||||
|
||||
if (!receiveInfo && document.all.person.value <= 0)
|
||||
if (!receiveInfo && document.getElementById("person").value <= 0)
|
||||
{
|
||||
alert(LCL.shared.choose_item_first);
|
||||
return;
|
||||
@@ -57,7 +57,7 @@ function AddItem(pprs_key, pprs_name, pdept_name)
|
||||
dept_name = pdept_name;
|
||||
}
|
||||
|
||||
var table = document.all.sel_items
|
||||
var table = document.getElementById("sel_items")
|
||||
var rows = document.getElementById('sel_items').getElementsByTagName('tr')
|
||||
var tablelength = rows.length;
|
||||
var rowIndex = rows[rows.length-1].rowIndex; // Pak de laatste rowIndex van de tabel
|
||||
@@ -77,7 +77,7 @@ function AddItem(pprs_key, pprs_name, pdept_name)
|
||||
function CreateRow(prs_key, prs_name, dept_name, rowIndex, editable)
|
||||
{
|
||||
// insert white line
|
||||
table = document.all.sel_items;
|
||||
table = document.getElementById("sel_items");
|
||||
|
||||
// insert data rows
|
||||
tr = table.insertRow((rowIndex == -1) ? (-1) : (rowIndex));
|
||||
@@ -130,7 +130,7 @@ function CancelOrder(id_key)
|
||||
{
|
||||
tr = selectedItems[" " + id_key].row;
|
||||
rowIndex = tr.rowIndex;
|
||||
document.all.sel_items.deleteRow(rowIndex);
|
||||
document.getElementById("sel_items").deleteRow(rowIndex);
|
||||
nrdeleted++;
|
||||
selectedItems[" " + id_key] = null;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision: 7 $
|
||||
$Modtime: 26-01-11 10:21 $
|
||||
$Revision: 8 $
|
||||
$Modtime: 11-01-12 13:56 $
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -39,7 +39,7 @@ var module = getQParam("module", -1);
|
||||
// Toon gekozen Qlikview
|
||||
function ShowQlik()
|
||||
{
|
||||
ebox = document.all.sel_Qlikview;
|
||||
ebox = document.getElementById("sel_Qlikview");
|
||||
eboxval = ebox.options[ebox.selectedIndex].value;
|
||||
eboxtext = ebox.options[ebox.selectedIndex].text;
|
||||
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
/*
|
||||
$Revision: 3 $
|
||||
$Modtime: 26-08-10 14:58 $
|
||||
$Revision: 4 $
|
||||
$Modtime: 11-01-12 13:58 $
|
||||
|
||||
File: res_search.js
|
||||
*/
|
||||
|
||||
function checkCheckboxes()
|
||||
{
|
||||
if (!document.all.res_open.checked && !document.all.res_closed.checked )
|
||||
if (!document.getElementById("res_open").checked && !document.getElementById("res_closed").checked )
|
||||
{
|
||||
document.all.res_open.checked = true;
|
||||
document.getElementById("res_open").checked = true;
|
||||
}
|
||||
if (!document.all.roomcat.checked &&
|
||||
!document.all.objcat.checked &&
|
||||
!document.all.artcat.checked)
|
||||
if (!document.getElementById("roomcat").checked &&
|
||||
!document.getElementById("objcat").checked &&
|
||||
!document.getElementById("artcat").checked)
|
||||
{
|
||||
document.all.roomcat.checked = true;
|
||||
document.getElementById("roomcat").checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
$Revision: 2 $
|
||||
$Modtime: 1-07-11 11:25 $
|
||||
$Revision: 3 $
|
||||
$Modtime: 11-01-12 13:59 $
|
||||
|
||||
File: sle_sleutelcilinder.js
|
||||
*/
|
||||
@@ -22,7 +22,7 @@ function onDblClickItem(tr) {
|
||||
function CreateRow(sle_key, slecil_name)
|
||||
{
|
||||
rowIndex++;
|
||||
table = document.all.sleutelcilindertable;
|
||||
table = document.getElementById("sleutelcilindertable");
|
||||
|
||||
// Insert data rows
|
||||
tr = table.insertRow();
|
||||
@@ -46,7 +46,7 @@ function CreateRow(sle_key, slecil_name)
|
||||
cell.align = "left";
|
||||
cell.style.whiteSpace = "nowrap";
|
||||
|
||||
document.all.nrRows.value = parseInt(rowIndex) + 1;
|
||||
document.getElementById("nrRows").value = parseInt(rowIndex) + 1;
|
||||
}
|
||||
|
||||
function delRow(img)
|
||||
@@ -57,7 +57,7 @@ function delRow(img)
|
||||
var tr = $(img).closest("tr")[0];
|
||||
if (tr.myData.sle_key != null)
|
||||
{
|
||||
document.all.sleutelcilindertable.deleteRow(tr.rowIndex);
|
||||
document.getElementById("sleutelcilindertable").deleteRow(tr.rowIndex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@language = "javascript"%>
|
||||
<% /*
|
||||
$Revision: 15 $
|
||||
$Modtime: 23-11-11 11:24 $
|
||||
$Revision: 16 $
|
||||
$Modtime: 11-01-12 13:58 $
|
||||
|
||||
File: shared/queuemail.asp
|
||||
Description: Zet een e-mail notifatie in de queue. Die wordt later verstuurd
|
||||
@@ -202,7 +202,7 @@ else
|
||||
if (!new RegExp("<%=safe.jsstring(email_regexp)%>", "ig").test($("#emails").val()))
|
||||
alert("<%=lcl_invalid_email%>")
|
||||
else
|
||||
document.all.u2.submit();
|
||||
document.getElementById("u2").submit();
|
||||
}
|
||||
|
||||
function queueCancel()
|
||||
|
||||
@@ -66,12 +66,12 @@ function getAnchorPosition(anchorname) {
|
||||
// Browser capability sniffing
|
||||
var use_gebi=false, use_css=false, use_layers=false;
|
||||
if (document.getElementById) { use_gebi=true; }
|
||||
else if (document.all) { use_css=true; }
|
||||
else if (document.getElementById) { use_css=true; }
|
||||
else if (document.layers) { use_layers=true; }
|
||||
// Logic to find position
|
||||
if (use_gebi && document.all) {
|
||||
x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);
|
||||
y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);
|
||||
if (use_gebi && document.getElementById) {
|
||||
x=AnchorPosition_getPageOffsetLeft(document.getElementById(anchorname));
|
||||
y=AnchorPosition_getPageOffsetTop(document.getElementById(anchorname));
|
||||
}
|
||||
else if (use_gebi) {
|
||||
var o=document.getElementById(anchorname);
|
||||
@@ -79,8 +79,8 @@ function getAnchorPosition(anchorname) {
|
||||
y=AnchorPosition_getPageOffsetTop(o);
|
||||
}
|
||||
else if (use_css) {
|
||||
x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);
|
||||
y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);
|
||||
x=AnchorPosition_getPageOffsetLeft(document.getElementById(anchorname));
|
||||
y=AnchorPosition_getPageOffsetTop(document.getElementById(anchorname));
|
||||
}
|
||||
else if (use_layers) {
|
||||
var found=0;
|
||||
@@ -118,7 +118,7 @@ function getAnchorWindowPosition(anchorname) {
|
||||
y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;
|
||||
}
|
||||
}
|
||||
else if (document.all) {
|
||||
else if (document.getElementById) {
|
||||
x=coordinates.x-document.body.scrollLeft+window.screenLeft;
|
||||
y=coordinates.y-document.body.scrollTop+window.screenTop;
|
||||
}
|
||||
@@ -256,7 +256,7 @@ function PopupWindow_refresh() {
|
||||
document.getElementById(this.divName).innerHTML = this.contents;
|
||||
}
|
||||
else if (this.use_css) {
|
||||
document.all[this.divName].innerHTML = this.contents;
|
||||
document.getElementById(this.divName).innerHTML = this.contents;
|
||||
}
|
||||
else if (this.use_layers) {
|
||||
var d = document.layers[this.divName];
|
||||
@@ -296,9 +296,9 @@ function PopupWindow_showPopup(anchorname) {
|
||||
document.getElementById(this.divName).style.visibility = "visible";
|
||||
}
|
||||
else if (this.use_css) {
|
||||
document.all[this.divName].style.left = this.x;
|
||||
document.all[this.divName].style.top = this.y;
|
||||
document.all[this.divName].style.visibility = "visible";
|
||||
document.getElementById(this.divName).style.left = this.x;
|
||||
document.getElementById(this.divName).style.top = this.y;
|
||||
document.getElementById(this.divName).style.visibility = "visible";
|
||||
}
|
||||
else if (this.use_layers) {
|
||||
document.layers[this.divName].left = this.x;
|
||||
@@ -321,7 +321,7 @@ function PopupWindow_showPopup(anchorname) {
|
||||
this.x = screen.availWidth - this.width;
|
||||
}
|
||||
}
|
||||
var avoidAboutBlank = window.opera || ( document.layers && !navigator.mimeTypes['*'] ) || navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled );
|
||||
var avoidAboutBlank = window.opera || ( document.layers && !navigator.mimeTypes['*'] ) || navigator.vendor == 'KDE' || ( document.childNodes && !document.getElementById && !navigator.taintEnabled );
|
||||
this.popupWindow = window.open(avoidAboutBlank?"":"about:blank","window_"+anchorname,this.windowProperties+",width="+this.width+",height="+this.height+",screenX="+this.x+",left="+this.x+",screenY="+this.y+",top="+this.y+"");
|
||||
}
|
||||
this.refresh();
|
||||
@@ -334,7 +334,7 @@ function PopupWindow_hidePopup() {
|
||||
document.getElementById(this.divName).style.visibility = "hidden";
|
||||
}
|
||||
else if (this.use_css) {
|
||||
document.all[this.divName].style.visibility = "hidden";
|
||||
document.getElementById(this.divName).style.visibility = "hidden";
|
||||
}
|
||||
else if (this.use_layers) {
|
||||
document.layers[this.divName].visibility = "hidden";
|
||||
@@ -359,7 +359,7 @@ function PopupWindow_isClicked(e) {
|
||||
}
|
||||
else { return false; }
|
||||
}
|
||||
else if (document.all) { // Need to hard-code this to trap IE for error-handling
|
||||
else if (document.getElementById) { // Need to hard-code this to trap IE for error-handling
|
||||
var t = window.event.srcElement;
|
||||
while (t.parentElement != null) {
|
||||
if (t.id==this.divName) {
|
||||
@@ -449,7 +449,7 @@ function PopupWindow() {
|
||||
this.use_css = false;
|
||||
this.use_layers = false;
|
||||
if (document.getElementById) { this.use_gebi = true; }
|
||||
else if (document.all) { this.use_css = true; }
|
||||
else if (document.getElementById) { this.use_css = true; }
|
||||
else if (document.layers) { this.use_layers = true; }
|
||||
else { this.type = "WINDOW"; }
|
||||
this.offsetX = 0;
|
||||
@@ -627,7 +627,7 @@ function ColorPicker() {
|
||||
cp_contents += "<BODY MARGINWIDTH=0 MARGINHEIGHT=0 LEFTMARGIN=0 TOPMARGIN=0><CENTER>";
|
||||
}
|
||||
cp_contents += "<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=0>";
|
||||
var use_highlight = (document.getElementById || document.all)?true:false;
|
||||
var use_highlight = (document.getElementById)?true:false;
|
||||
for (var i=0; i<total; i++) {
|
||||
if ((i % width) == 0) { cp_contents += "<TR>"; }
|
||||
if (use_highlight) { var mo = 'onMouseOver="'+windowRef+'ColorPicker_highlightColor(\''+colors[i]+'\',window.document)"'; }
|
||||
|
||||
Reference in New Issue
Block a user