' + gettext('This is an empty document.') + '
';
+
return function(sandbox) {
- var doc = sandbox.getBootstrappedData().document;
var document_id = sandbox.getBootstrappedData().document_id;
- var document_version = sandbox.getBootstrappedData().version;
var history = sandbox.getBootstrappedData().history;
+ var documentDirty = false;
+ var draftDirty = false;
-
- if(doc === '') {
- doc = '