aboutsummaryrefslogtreecommitdiff
path: root/radicale_web/web/infcloud/forms.js
diff options
context:
space:
mode:
Diffstat (limited to 'radicale_web/web/infcloud/forms.js')
-rw-r--r--radicale_web/web/infcloud/forms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/radicale_web/web/infcloud/forms.js b/radicale_web/web/infcloud/forms.js
index b169df3..0e4c816 100644
--- a/radicale_web/web/infcloud/forms.js
+++ b/radicale_web/web/infcloud/forms.js
@@ -899,7 +899,7 @@ function showTodoForm(todo, mod, repeatOne, confirmRepeat)
$('#url_TODO').val(todo.url);
$('#location_TODO').val(todo.location);
$('#etagTODO').val(todo.etag);
- $('#vcalendarHashTODO').val(hex_sha256(todo.vcalendar));
+ $('#vcalendarHashTODO').val(String(CryptoJS.SHA256(todo.vcalendar)));
var stringUIDcurrent=todo.vcalendar.match(vCalendar.pre['contentline_UID']);
if(stringUIDcurrent!=null)
@@ -1808,7 +1808,7 @@ function showEventForm(date, allDay, calEvent, jsEvent, mod, repeatOne, confirmR
$('#uid').val(calEvent.id);
$('#url_EVENT').val(calEvent.hrefUrl+'');
- $('#vcalendarHash').val(hex_sha256(calEvent.vcalendar));
+ $('#vcalendarHash').val(String(CryptoJS.SHA256(calEvent.vcalendar)));
$('#etag').val(calEvent.etag);
var stringUIDcurrent=calEvent.vcalendar.match(vCalendar.pre['contentline_UID']);
bgstack15