aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-11 00:22:51 -0800
committerfriendica <info@friendica.com>2013-11-11 00:22:51 -0800
commitdc1cb583a0a7ad4dd6a6a086d862c695a9cf0331 (patch)
tree2f92f5df17474ad33b71f267d95cd4f2a85c143b /js
parent435e2dae0e9204afd7288c14748e88f680276969 (diff)
downloadvolse-hubzilla-dc1cb583a0a7ad4dd6a6a086d862c695a9cf0331.tar.gz
volse-hubzilla-dc1cb583a0a7ad4dd6a6a086d862c695a9cf0331.tar.bz2
volse-hubzilla-dc1cb583a0a7ad4dd6a6a086d862c695a9cf0331.zip
remove debugging stuff
Diffstat (limited to 'js')
-rw-r--r--js/crypto.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/crypto.js b/js/crypto.js
index 6970229ce..702ebd0e1 100644
--- a/js/crypto.js
+++ b/js/crypto.js
@@ -59,7 +59,9 @@ function red_encrypt(alg, elem,text) {
newdiv = "[crypt alg='aes256' hint='" + enc_hint + "']" + encrypted + '[/crypt]';
}
- alert(newdiv);
+ enc_key = '';
+
+// alert(newdiv);
$(elem).val(newdiv);
@@ -87,6 +89,8 @@ function red_decrypt(alg,hint,text,elem) {
enc_text = CryptoJS.AES.decrypt(text,enc_key);
}
+ enc_key = '';
+
// Not sure whether to drop this back in the conversation display.
// It probably needs a lightbox or popup window because any conversation
// updates could