aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web/interface.js
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-08-12 10:47:05 -0400
committerB. Stack <bgstack15@gmail.com>2022-08-12 10:47:05 -0400
commitfb8c26f173a1da66533e837c1ce73b7ece4a7226 (patch)
tree70dcca6002aff90633df7b13e2a0b5789096ba1e /radicale_infcloud/web/interface.js
parentmove line-endings fix to forms.js (diff)
downloadradicaleinfcloud-fb8c26f173a1da66533e837c1ce73b7ece4a7226.tar.gz
radicaleinfcloud-fb8c26f173a1da66533e837c1ce73b7ece4a7226.tar.bz2
radicaleinfcloud-fb8c26f173a1da66533e837c1ce73b7ece4a7226.zip
remove useless stringToVevent functionadd-upload
Diffstat (limited to 'radicale_infcloud/web/interface.js')
-rw-r--r--radicale_infcloud/web/interface.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/radicale_infcloud/web/interface.js b/radicale_infcloud/web/interface.js
index ce00437..7f7304b 100644
--- a/radicale_infcloud/web/interface.js
+++ b/radicale_infcloud/web/interface.js
@@ -1308,11 +1308,9 @@ function uploadFile(fileContents)
inputUID = $('#event_calendar').val()+'';
else
return false;
- // ripped from data_process.js:1474
+ // Always generate new UID for imported event
var newUID=globalEventList.getNewUID();
fileContents = fileContents.replace(/^UID:.*$/gm,String("UID:"+newUID));
- newEvent = stringToVevent(coll, fileContents, inputUID, $('#etag').val(), true);
- //console.log(newEvent);
putVcalendarToCollection(coll.accountUID, inputUID, "", fileContents, "", 'vevent', false, false, "");
return true;
}
bgstack15