Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
664ea58e
Commit
664ea58e
authored
Sep 06, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
permissions didn't initialize at app start
parent
4549b770
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+2
-0
No files found.
apps/documenteditor/mobile/app/controller/Main.js
View file @
664ea58e
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment