Fix dropped support for documentsMain.useUnstable flag

This commit is contained in:
Friedrich W. H. Kossebau 2013-09-01 19:31:38 +02:00
parent 5c68a09fee
commit 783250a638

View File

@ -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() {