PageSourceSearch

https://vgem.kleinheubach.de/___/reminder/scripts/reminder.js

js kleinheubach.de collected 2026-10-03 17:56:55 UTC 3,828 bytes, 1 lines download raw bytes

1let setReminder=function(){let t=new Ext.form.BasicForm("reminder"),e=t.getValues(),i=trfilename+"?_func=stRmd";var s;"undefined"!=typeof configureOptions&&(s=configureOptions(!0,"attrmatrix_"+String(e.rmd_itemid)),isArray(s))&&s.length&&(i+="&"+s.join("&")+"&_unique=1&_id="+e.rmd_itemid),msgBox("Erinnerung",'<img src="'+basepath+'_/pics/loading.gif" style="vertical-align:middle; margin-right: 4px;">Daten werden &uuml;bermittelt....',"nobuttons"),Ext.Ajax.request({url:i,method:"post",params:e,success:function(e){e=decode(e.responseText);let i;isObject(e)?(i=isFunction(window[e.callback])?window[e.callback]:Ext.emptyFn,e.error?(e.error,msgBox("Fehler",translate(e.text||"Es ist ein Fehler aufgetreten"),"ok")):msgBox("Erinnerung",translate(e.text||"Erinnerung wurde hinzugef&uuml;gt."),"ok",i)):msgBox("Fehler","Es ist ein Fehler aufgetreten","ok"),new Ext.KeyMap(t.el,[{key:Ext.EventObject.ENTER,fn:function(e,t){t.stopEvent(),i("ok")},scope:t}])}}),Ext.QuickTips.enable()},showReminder=function(e,t,i,s){Ext.QuickTips.disable();let n="",r=0,a="",o=0,l=(isObject(e)?(r=e.getAttribute("modid"),a=e.getAttribute("moddate"),n=e.getAttribute("mod")):(r=t,n=e,a=i,o=s||0),trfilename+"?_func=shRmd&_stRmMod="+n+"&_stRmID="+r+"&_stRmDate="+a+"&_stRmStatus="+o);"undefined"!=typeof configureOptions&&(t=configureOptions(!0,"attrmatrix_"+String(r),null,"reminder"),isArray(t))&&(l+="&"+t.join("&")+"&_unique=1&_id="+r),Ext.Ajax.request({url:l,success:function(e){function i(i){if("ok"==i){var i=n.getValues(),s=Ext.get("remindType"),s=s?s.getValue():"mail";let e=!1,t;s.match(/mail/)&&"customermail"in i&&(Ext.Msg.getDialog().show(),t=n.items.get("customermail"),isEmpty(i.customermail)||!i.customermail.match(/[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}\b/)?(t.el.addClass("invalid"),t.markInvalid("E-Mail-Adresse fehlerhaft"),e=!0):t.el.removeClass("invalid")),s.match(/sms/)&&"customermobile"in i&&(Ext.Msg.getDialog().show(),t=n.items.get("customermobile"),isEmpty(i.customermobile)||!i.customermobile.match(/\+?[\d\s\.\-/]*/)?(t.el.addClass("invalid"),t.markInvalid("Telefon-Nummer fehlerhaft"),e=!0):t.el.removeClass("invalid")),e||setReminder()}}let n=new Ext.form.BasicForm("reminder");msgBox("Erinnerung",e.responseText,"okcancel",i);var t=Ext.getDom("reminder");for(let e=0;e<t.elements.length;e+=1){var s=t.elements[e],r=new Ext.form.Field({name:s.name,id:s.name});r.applyTo(s),n.add(r)}recon.fireEvent("showReminder",[n]),new Ext.KeyMap(n.el,[{key:Ext.EventObject.ENTER,fn:function(e,t){t.stopEvent(),i("ok")},scope:n}])}})},confirmSMS=function(e){"ok"===e&&(e=Ext.Ajax.serializeForm("reminder"),Ext.Ajax.request({method:"post",url:"?_func=stSMSCode",success:function(e){e=decode(e.responseText);isObject(e)?e.error?(e.error,msgBox("Fehler",translate(e.text||"Es ist ein Fehler aufgetreten"),"ok")):msgBox("Erinnerung",translate(e.text||"Erinnerung wurde hinzugef&uuml;gt."),"ok"):msgBox("Fehler","Es ist ein Fehler aufgetreten","ok")},params:e}))},updateReminder=function(e){Ext.Ajax.request({url:document.location.pathname+"?_func=shRmdMl&_del=1&_delId="+e,success:function(){updatePanel("shRmdMl","")}})},setRemindType=function(e){switch(e.value){case"mail":Ext.get("sms").setDisplayed(!1),Ext.getDom("mail").style.display=Ext.isIE&&(Ext.isIE8||Ext.isIE9||Ext.isIE7||Ext.isIE6)?"block":"table-row";break;case"sms":Ext.get("mail").setDisplayed(!1),Ext.getDom("sms").style.display=Ext.isIE&&(Ext.isIE8||Ext.isIE9||Ext.isIE7||Ext.isIE6)?"block":"table-row";break;case"mailsms":Ext.getDom("mail").style.display=Ext.isIE&&(Ext.isIE8||Ext.isIE9||Ext.isIE7||Ext.isIE6)?"block":"table-row",Ext.getDom("sms").style.display=Ext.isIE&&(Ext.isIE8||Ext.isIE9||Ext.isIE7||Ext.isIE6)?"block":"table-row"}var e=Ext.Msg.getDialog(),t=Ext.util.TextMetrics.measure(e.body,e.body.dom.innerHTML);e.setContentSize(t.width,t.height)};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.