BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
METHOD:PUBLISH
X-PUBLISHED-TTL:PT1H
BEGIN:VEVENT
UID:203@legacy.gancio.org
SUMMARY:/**  * Define Javascript function for refreshing attachments lists 
	 *   * Copyright (C) 2010-2016 Jonathan M. Cameron\, All Rights Reserved  
	* License: http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL  *  * By Jonat
	han Cameron  *  * @param siteURL string the site base URL for the request 
	 * @param ptype string parent_type for the attachments list parent  * @par
	am pentity string parent_entity for the attachments list parent  * @param 
	pid integer parent_id for the attachments list parent  * @param lang the c
	urrent language ('' if not specified)  * @param from string the 'from' cla
	use to pass in the request  */  function refreshAttachments(siteUrl\, ptyp
	e\, pentity\, pid\, lang\, from) {     var id = "attachmentsList_" + ptype
	 + "_" + pentity + "_" + pid\,         alist = document.getElementById(id)
	\,         url = siteUrl + "/index.php?option=com_attachments&task=attachm
	entsList"\;     url += "&parent_id=" + pid\;     url += "&parent_type=" + 
	ptype + "&parent_entity=" + pentity\;     url += "&lang=" + lang\;     url
	 += "&from=" + from + "&tmpl=component&format=raw"\;     if (!alist) {    
	     alist = window.parent.document.getElementById(id)\;     }     if (!al
	ist) {         id = "attachmentsList_" + ptype + "_default_" + pid\;      
	   alist = window.parent.document.getElementById(id)\;     }     new windo
	w.Request({         url: url\,         method: 'get'\,         onComplete:
	 function (response) {              // Refresh the attachments list       
	      alist.innerHTML = response\;              // Remove any old click ev
	ents (since they are for a deleted/updated SqueezeBox)             $$('a.m
	odal-button').removeEvents('click')\;              // Since the html has b
	een replaced\, we need to reconnect the modal button events             wi
	ndow.SqueezeBox.initialize({})\;             window.SqueezeBox.assign($$('
	a.modal-button')\, { parse: 'rel' })\;         }     }).send()\; }\;
DTSTAMP:20260430T084349Z
DTSTART:20220128T230000Z
DTEND:20220128T233000Z
DESCRIPTION:Tesr
URL:https://legacy.gancio.org/event/test
LOCATION:testw - testa
STATUS:CONFIRMED
CATEGORIES:walla,festival
X-ALT-DESC;FMTTYPE=text/html:<p>Tesr</p>
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:/**  * Define Javascript function for refreshing attachments li
	sts  *   * Copyright (C) 2010-2016 Jonathan M. Cameron, All Rights Reserve
	d  * License: http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL  *  * By Jo
	nathan Cameron  *  * @param siteURL string the site base URL for the reque
	st  * @param ptype string parent_type for the attachments list parent  * @
	param pentity string parent_entity for the attachments list parent  * @par
	am pid integer parent_id for the attachments list parent  * @param lang th
	e current language ('' if not specified)  * @param from string the 'from' 
	clause to pass in the request  */  function refreshAttachments(siteUrl, pt
	ype, pentity, pid, lang, from) {     var id = "attachmentsList_" + ptype +
	 "_" + pentity + "_" + pid,         alist = document.getElementById(id),  
	       url = siteUrl + "/index.php?option=com_attachments&task=attachments
	List";     url += "&parent_id=" + pid;     url += "&parent_type=" + ptype 
	+ "&parent_entity=" + pentity;     url += "&lang=" + lang;     url += "&fr
	om=" + from + "&tmpl=component&format=raw";     if (!alist) {         alis
	t = window.parent.document.getElementById(id);     }     if (!alist) {    
	     id = "attachmentsList_" + ptype + "_default_" + pid;         alist = 
	window.parent.document.getElementById(id);     }     new window.Request({ 
	        url: url,         method: 'get',         onComplete: function (res
	ponse) {              // Refresh the attachments list             alist.in
	nerHTML = response;              // Remove any old click events (since the
	y are for a deleted/updated SqueezeBox)             $$('a.modal-button').r
	emoveEvents('click');              // Since the html has been replaced, we
	 need to reconnect the modal button events             window.SqueezeBox.i
	nitialize({});             window.SqueezeBox.assign($$('a.modal-button'), 
	{ parse: 'rel' });         }     }).send(); };
TRIGGER:-PT1H
END:VALARM
END:VEVENT
END:VCALENDAR
