From 81431ce6cce507535d871020fcb4c9b3844ffd4a Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 12 Aug 2022 14:53:46 +0000 Subject: Add upload functionality --- radicale_infcloud/web/data_process.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'radicale_infcloud/web/data_process.js') diff --git a/radicale_infcloud/web/data_process.js b/radicale_infcloud/web/data_process.js index bdbf711..69f81d4 100644 --- a/radicale_infcloud/web/data_process.js +++ b/radicale_infcloud/web/data_process.js @@ -1067,6 +1067,7 @@ function checkAndFixMultipleUID(vcalendar, isEvent) } return eventStringArray; } + function dataToVcalendar(operation, accountUID, inputUID, inputEtag, delUID,isFormHidden, deleteMode) { var vevent=false, @@ -1341,11 +1342,6 @@ function dataToVcalendar(operation, accountUID, inputUID, inputEtag, delUID,isFo { if(globalSettings.timezonesupport.value) sel_option=$('#timezone').val(); - //else - //{ - // if(inputEvents.length>0) - // sel_option=inputEvents[0].timeZone; - //} if(sel_option=='UTC') { @@ -2148,9 +2144,6 @@ function dataToVcalendar(operation, accountUID, inputUID, inputEtag, delUID,isFo if($('#status').val()!='NONE') { - - //if((value=$('[id="vcalendar_editor"] [data-type="\\%note"]').find('textarea').val())!='') - //{ if(vCalendar.tplM['contentline_STATUS']!=null && (process_elem=vCalendar.tplM['contentline_STATUS'][0])!=undefined) { // replace the object and related objects' group names (+ append the related objects after the processed) @@ -3447,6 +3440,7 @@ function getDateFromDay(objComponent, t, disableRecursion,uid) return {offsetFrom:objComponent.tzOffsetFROM, offsetTo: objComponent.tzOffsetTO, startDate: dayLightStartDate}; } +/* stackrpms: reference function */ function vcalendarToData(inputCollection, inputEvent, isNew) { var vcalendarOrig=inputEvent.vcalendar; -- cgit