From 783250a6384c5d110a37381cd8700e3e86a7d1d2 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 1 Sep 2013 19:31:38 +0200 Subject: [PATCH] Fix dropped support for documentsMain.useUnstable flag --- js/documents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/documents.js b/js/documents.js index 77e8487d..915391f0 100644 --- a/js/documents.js +++ b/js/documents.js @@ -71,7 +71,7 @@ var documentsMain = { runtime.assert(response.es_id, "invalid session id."); memberId = response.member_id; documentsMain.webodfServerInstance = serverFactory.createServer(); - documentsMain.webodfEditorInstance = new Editor({}, documentsMain.webodfServerInstance, serverFactory); + documentsMain.webodfEditorInstance = new Editor({unstableFeaturesEnabled: documentsMain.useUnstable}, documentsMain.webodfServerInstance, serverFactory); // load the document and get called back when it's live documentsMain.webodfEditorInstance.openSession(response.es_id, memberId, function() {