diff --git a/apps/documenteditor/mobile/app/controller/Main.js b/apps/documenteditor/mobile/app/controller/Main.js index ab2a3d5f5..48af7b8d4 100644 --- a/apps/documenteditor/mobile/app/controller/Main.js +++ b/apps/documenteditor/mobile/app/controller/Main.js @@ -104,6 +104,8 @@ Ext.define('DE.controller.Main', { }, loadDocument: function(data) { + this.permissions = {}; + if ( data.doc ) { this.permissions = data.doc.permissions;