From dc1cb583a0a7ad4dd6a6a086d862c695a9cf0331 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 11 Nov 2013 00:22:51 -0800 Subject: [PATCH] remove debugging stuff --- js/crypto.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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