diff options
Diffstat (limited to 'radicale_infcloud/web/interface.js')
-rw-r--r-- | radicale_infcloud/web/interface.js | 4 |
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; } |