diff options
author | Unrud <unrud@openaliasbox.org> | 2017-04-12 21:35:14 +0200 |
---|---|---|
committer | Unrud <unrud@openaliasbox.org> | 2017-04-12 22:41:18 +0200 |
commit | 7a2bb5be65ccbf7bded3864f43ef441c821f98e8 (patch) | |
tree | 5b70d49e66a6f2b910b0f4387c5f0f4a2a850256 /radicale_web/web/infcloud/resource.js | |
parent | Add description and clearify install instructions (diff) | |
download | radicaleinfcloud-7a2bb5be65ccbf7bded3864f43ef441c821f98e8.tar.gz radicaleinfcloud-7a2bb5be65ccbf7bded3864f43ef441c821f98e8.tar.bz2 radicaleinfcloud-7a2bb5be65ccbf7bded3864f43ef441c821f98e8.zip |
InfCloud: Update to 0.13.2rc1
Diffstat (limited to 'radicale_web/web/infcloud/resource.js')
-rw-r--r-- | radicale_web/web/infcloud/resource.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radicale_web/web/infcloud/resource.js b/radicale_web/web/infcloud/resource.js index f0fb104..9456173 100644 --- a/radicale_web/web/infcloud/resource.js +++ b/radicale_web/web/infcloud/resource.js @@ -1202,7 +1202,7 @@ function ResourceCardDAVList() { var tmp2=globalAddressbookList.getContactByUID(ui.draggable.attr('data-id')); // here we generate the destination for MOVE (we don't use the old vCard file name to minimalize the possible conflict situations) - var tmp3=($(this).attr('data-id')+hex_sha256(tmp2.vcard+(new Date().getTime()))+'.vcf').match(RegExp('^(https?://)([^@/]+(?:@[^@/]+)?)@([^/]+)(.*/)([^/]+/)([^/]*)','i')); + var tmp3=($(this).attr('data-id')+String(CryptoJS.SHA256(tmp2.vcard+(new Date().getTime())))+'.vcf').match(RegExp('^(https?://)([^@/]+(?:@[^@/]+)?)@([^/]+)(.*/)([^/]+/)([^/]*)','i')); tmp2.moveDestUID=$(this).attr('data-id'); tmp2.moveDest=tmp3[1]+tmp3[3]+tmp3[4]+tmp3[5]+tmp3[6]; // we need to store the ui object references for error handling in the GUI |