aboutsummaryrefslogtreecommitdiff
path: root/radicale_web/web/infcloud/forms.js
diff options
context:
space:
mode:
authorUnrud <unrud@openaliasbox.org>2017-04-12 21:35:14 +0200
committerUnrud <unrud@openaliasbox.org>2017-04-12 22:41:18 +0200
commit7a2bb5be65ccbf7bded3864f43ef441c821f98e8 (patch)
tree5b70d49e66a6f2b910b0f4387c5f0f4a2a850256 /radicale_web/web/infcloud/forms.js
parentAdd description and clearify install instructions (diff)
downloadradicaleinfcloud-7a2bb5be65ccbf7bded3864f43ef441c821f98e8.tar.gz
radicaleinfcloud-7a2bb5be65ccbf7bded3864f43ef441c821f98e8.tar.bz2
radicaleinfcloud-7a2bb5be65ccbf7bded3864f43ef441c821f98e8.zip
InfCloud: Update to 0.13.2rc1
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