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
15d09b07
Commit
15d09b07
authored
Feb 03, 2017
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE/PE mobile] Fixed display context menu for deploy version.
parent
e09e52be
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
4 deletions
+19
-4
apps/documenteditor/mobile/app/controller/DocumentHolder.js
apps/documenteditor/mobile/app/controller/DocumentHolder.js
+5
-0
apps/documenteditor/mobile/app/view/DocumentHolder.js
apps/documenteditor/mobile/app/view/DocumentHolder.js
+4
-1
apps/presentationeditor/mobile/app/controller/DocumentHolder.js
...resentationeditor/mobile/app/controller/DocumentHolder.js
+7
-2
apps/presentationeditor/mobile/app/view/DocumentHolder.js
apps/presentationeditor/mobile/app/view/DocumentHolder.js
+3
-1
No files found.
apps/documenteditor/mobile/app/controller/DocumentHolder.js
View file @
15d09b07
...
...
@@ -86,6 +86,7 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onHideForeignCursorLabel
'
,
_
.
bind
(
me
.
onApiHideForeignCursorLabel
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onAuthParticipantsChanged
'
,
_
.
bind
(
me
.
onApiUsersChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onConnectionStateChanged
'
,
_
.
bind
(
me
.
onApiUserConnection
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentContentReady
'
,
_
.
bind
(
me
.
onApiDocumentContentReady
,
me
));
me
.
api
.
asc_coAuthoringGetUsers
();
},
...
...
@@ -259,6 +260,10 @@ define([
}
},
onApiDocumentContentReady
:
function
()
{
_view
=
this
.
createView
(
'
DocumentHolder
'
).
render
();
},
// Internal
_openLink
:
function
(
url
)
{
...
...
apps/documenteditor/mobile/app/view/DocumentHolder.js
View file @
15d09b07
...
...
@@ -68,7 +68,10 @@ define([
// Render layout
render
:
function
()
{
var
el
=
$
(
this
.
el
);
el
.
append
(
this
.
template
({}));
if
(
el
.
length
>
0
&&
el
.
find
(
'
#
'
+
_anchorId
).
length
<
1
)
{
el
.
append
(
this
.
template
());
}
return
this
;
},
...
...
apps/presentationeditor/mobile/app/controller/DocumentHolder.js
View file @
15d09b07
...
...
@@ -77,8 +77,9 @@ define([
me
.
api
=
api
;
me
.
api
.
asc_registerCallback
(
'
asc_onShowPopMenu
'
,
_
.
bind
(
me
.
onApiShowPopMenu
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onHidePopMenu
'
,
_
.
bind
(
me
.
onApiHidePopMenu
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onShowPopMenu
'
,
_
.
bind
(
me
.
onApiShowPopMenu
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onHidePopMenu
'
,
_
.
bind
(
me
.
onApiHidePopMenu
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentContentReady
'
,
_
.
bind
(
me
.
onApiDocumentContentReady
,
me
));
},
setMode
:
function
(
mode
)
{
...
...
@@ -161,6 +162,10 @@ define([
_view
&&
_view
.
hideMenu
();
},
onApiDocumentContentReady
:
function
()
{
_view
=
this
.
createView
(
'
DocumentHolder
'
).
render
();
},
// Internal
_openLink
:
function
(
url
)
{
...
...
apps/presentationeditor/mobile/app/view/DocumentHolder.js
View file @
15d09b07
...
...
@@ -68,7 +68,9 @@ define([
// Render layout
render
:
function
()
{
var
el
=
$
(
this
.
el
);
el
.
append
(
this
.
template
({}));
if
(
el
.
length
>
0
&&
el
.
find
(
'
#
'
+
_anchorId
).
length
<
1
)
{
el
.
append
(
this
.
template
());
}
return
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