Enable the read-only mode in Cryptpoll

This commit is contained in:
yflory
2016-09-22 16:09:20 +02:00
parent ad32ea2a82
commit 99004428d5
3 changed files with 69 additions and 14 deletions

View File

@@ -151,6 +151,7 @@ define([
var onLocal = config.onLocal = function () {
if (initializing) { return; }
if (readOnly) { return; }
editor.save();
var textValue = canonicalize($textarea.val());