fix demo when json is disabled

This commit is contained in:
Mike Hamburg 2012-01-24 20:05:16 -08:00
parent 4abe395d16
commit f922fc35bc

View File

@ -80,7 +80,7 @@ function doEncrypt() {
v.ciphertext = ct;
v.adata = '';
} else {
v.ciphertext = ct.match(/ct:"([^"]*)"/)[1]; //"
v.ciphertext = ct.match(/"ct":"([^"]*)"/)[1]; //"
}
v.plaintext = '';