remove debugging stuff
This commit is contained in:
parent
435e2dae0e
commit
dc1cb583a0
@ -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
|
||||||
|
Reference in New Issue
Block a user