Disable version history for pdf/djvu/xps.

This commit is contained in:
Julia Radzhabova 2017-05-19 14:54:28 +03:00
parent 96aa282105
commit a3c2858be1

View file

@ -328,6 +328,7 @@
if (!_config.document.permissions)
_config.document.permissions = {};
_config.document.permissions.edit = _config.document.permissions.review = false;
_config.editorConfig.canUseHistory = false;
}
if (!_config.document.title || _config.document.title=='')