Commit 664ea58e authored by Maxim Kadushkin's avatar Maxim Kadushkin

permissions didn't initialize at app start

parent 4549b770
...@@ -104,6 +104,8 @@ Ext.define('DE.controller.Main', { ...@@ -104,6 +104,8 @@ Ext.define('DE.controller.Main', {
}, },
loadDocument: function(data) { loadDocument: function(data) {
this.permissions = {};
if ( data.doc ) { if ( data.doc ) {
this.permissions = data.doc.permissions; this.permissions = data.doc.permissions;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment