primo upload

This commit is contained in:
claus75a
2024-03-16 20:37:32 +01:00
commit e43b9b4b28
3019 changed files with 406000 additions and 0 deletions
@@ -0,0 +1,27 @@
function hideServerError(theID) {
if (document.getElementById(theID)) document.getElementById(theID).style.display='none';
}
function clearAllServerErrors(theFormID) {
if (Spry && Spry.Widget && Spry.Widget.Form) {
var theForm = document.getElementById(theFormID);
var q = Spry.Widget.Form.onSubmitWidgetQueue;
var qlen = q.length;
for (var i = 0; i < qlen; i++)
if (q[i].form == theForm) {
clearRelated(q[i].element.id);
}
}
}
function clearRelated(theID) {
var theTestID = theID.replace(/_[^_]*$/,"");
while (theTestID != "") {
if (document.getElementById(theTestID+"_ServerError")) {
document.getElementById(theTestID+"_ServerError").style.display='none';
return;
}
if (theTestID.search(/_[^_]*$/)<0) theTestID = ""; else theTestID = theTestID.replace(/_[^_]*$/,"");
}
}