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
d911b61d
Commit
d911b61d
authored
Nov 24, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[mobile] Added "token" parameter to api config.
parent
efa2784f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+1
-0
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+1
-0
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+1
-0
No files found.
apps/documenteditor/mobile/app/controller/Main.js
View file @
d911b61d
...
...
@@ -199,6 +199,7 @@ define([
docInfo
.
put_Options
(
data
.
doc
.
options
);
docInfo
.
put_UserInfo
(
_user
);
docInfo
.
put_CallbackUrl
(
this
.
editorConfig
.
callbackUrl
);
docInfo
.
put_Token
(
data
.
doc
.
token
);
}
this
.
api
.
asc_registerCallback
(
'
asc_onGetEditorPermissions
'
,
_
.
bind
(
this
.
onEditorPermissions
,
this
));
...
...
apps/presentationeditor/mobile/app/controller/Main.js
View file @
d911b61d
...
...
@@ -211,6 +211,7 @@ define([
docInfo
.
put_Options
(
data
.
doc
.
options
);
docInfo
.
put_UserInfo
(
_user
);
docInfo
.
put_CallbackUrl
(
this
.
editorConfig
.
callbackUrl
);
docInfo
.
put_Token
(
data
.
doc
.
token
);
}
this
.
api
.
asc_registerCallback
(
'
asc_onGetEditorPermissions
'
,
_
.
bind
(
this
.
onEditorPermissions
,
this
));
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
d911b61d
...
...
@@ -211,6 +211,7 @@ define([
docInfo
.
put_Options
(
data
.
doc
.
options
);
docInfo
.
put_UserInfo
(
_user
);
docInfo
.
put_CallbackUrl
(
this
.
editorConfig
.
callbackUrl
);
docInfo
.
put_Token
(
data
.
doc
.
token
);
}
this
.
api
.
asc_registerCallback
(
'
asc_onGetEditorPermissions
'
,
_
.
bind
(
this
.
onEditorPermissions
,
this
));
...
...
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