Fix typo in file upload
This commit is contained in:
@@ -84,6 +84,7 @@ define([
|
|||||||
|
|
||||||
common.getEditHashFromKeys = Hash.getEditHashFromKeys;
|
common.getEditHashFromKeys = Hash.getEditHashFromKeys;
|
||||||
common.getViewHashFromKeys = Hash.getViewHashFromKeys;
|
common.getViewHashFromKeys = Hash.getViewHashFromKeys;
|
||||||
|
common.getFileHashFromKeys = Hash.getFileHashFromKeys;
|
||||||
common.getSecrets = Hash.getSecrets;
|
common.getSecrets = Hash.getSecrets;
|
||||||
common.getHashes = Hash.getHashes;
|
common.getHashes = Hash.getHashes;
|
||||||
common.createChannelId = Hash.createChannelId;
|
common.createChannelId = Hash.createChannelId;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ define([
|
|||||||
console.log("encrypted blob is now available as %s", uri);
|
console.log("encrypted blob is now available as %s", uri);
|
||||||
|
|
||||||
var b64Key = Nacl.util.encodeBase64(key);
|
var b64Key = Nacl.util.encodeBase64(key);
|
||||||
window.location.hash = Cryptpad.getFileHashFromKeys(id, b64key);
|
window.location.hash = Cryptpad.getFileHashFromKeys(id, b64Key);
|
||||||
|
|
||||||
$form.hide();
|
$form.hide();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user