diff options
Diffstat (limited to 'radicale_infcloud/web/interface.js')
-rw-r--r-- | radicale_infcloud/web/interface.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/radicale_infcloud/web/interface.js b/radicale_infcloud/web/interface.js index da298a6..7f9b06f 100644 --- a/radicale_infcloud/web/interface.js +++ b/radicale_infcloud/web/interface.js @@ -1327,10 +1327,11 @@ function uploadFile(fileContents) //refetchCalendarEvents(); //rerenderCalendar(true); //dataToVcalendar('EDIT',origUID, inputUID, $('#etag').val(), '', isFormHidden, deleteMode); - putVcalendarToCollection(coll.accountUID, inputUID, "", fileContents, "", 'vevent', false, false, ""); - // If this newUID were instead the etag (which is internal to putVcalendarToCollection), the new event would be - // immediately clickable! - newEvent.id = inputUID + newUID + ".ics"; + // When returnFullUID is true (last parameter), it returns "http://username@server/radicale/username/CALID/hex.ics" + // But unfortunately the globalEventList.events[rid] still does not populate with this. + //newEvent.id = inputUID + newUID + ".ics"; + newEvent.id = putVcalendarToCollection(coll.accountUID, inputUID, "", fileContents, "", 'vevent', false, false, "", true); + console.log("FINDTHIS"); return newEvent; } /* STOP stackrpms */ |