remove debugging stuff

This commit is contained in:
friendica 2013-11-11 00:22:51 -08:00
parent 435e2dae0e
commit dc1cb583a0

View File

@ -59,7 +59,9 @@ function red_encrypt(alg, elem,text) {
newdiv = "[crypt alg='aes256' hint='" + enc_hint + "']" + encrypted + '[/crypt]'; newdiv = "[crypt alg='aes256' hint='" + enc_hint + "']" + encrypted + '[/crypt]';
} }
alert(newdiv); enc_key = '';
// alert(newdiv);
$(elem).val(newdiv); $(elem).val(newdiv);
@ -87,6 +89,8 @@ function red_decrypt(alg,hint,text,elem) {
enc_text = CryptoJS.AES.decrypt(text,enc_key); enc_text = CryptoJS.AES.decrypt(text,enc_key);
} }
enc_key = '';
// Not sure whether to drop this back in the conversation display. // Not sure whether to drop this back in the conversation display.
// It probably needs a lightbox or popup window because any conversation // It probably needs a lightbox or popup window because any conversation
// updates could // updates could