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
4c2ec43f
Commit
4c2ec43f
authored
Feb 17, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use asc_onDownloadUrl event in view mode.
parent
21407bba
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+1
-1
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+2
-2
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+1
-1
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+2
-2
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+1
-1
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
4c2ec43f
...
...
@@ -1066,6 +1066,7 @@ define([
documentHolder
.
setMode
(
this
.
appOptions
);
this
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
this
.
onSendThemeColors
,
this
));
this
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
this
.
onDownloadUrl
,
this
));
if
(
this
.
api
)
{
var
translateChart
=
new
Asc
.
asc_CChartTranslate
();
...
...
@@ -1138,7 +1139,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
/** coauthoring begin **/
me
.
api
.
asc_registerCallback
(
'
asc_onCollaborativeChanges
'
,
_
.
bind
(
me
.
onCollaborativeChanges
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_OnTryUndoInFastCollaborative
'
,
_
.
bind
(
me
.
onTryUndoInFastCollaborative
,
me
));
...
...
apps/documenteditor/mobile/app/controller/Main.js
View file @
4c2ec43f
...
...
@@ -650,7 +650,8 @@ define([
});
if
(
me
.
api
)
{
me
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
this
.
onSendThemeColors
,
this
));
me
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
me
.
onSendThemeColors
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
var
translateChart
=
new
Asc
.
asc_CChartTranslate
();
translateChart
.
asc_setTitle
(
me
.
txtDiagramTitle
);
...
...
@@ -677,7 +678,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
/** coauthoring begin **/
me
.
api
.
asc_registerCallback
(
'
asc_onCollaborativeChanges
'
,
_
.
bind
(
me
.
onCollaborativeChanges
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_OnTryUndoInFastCollaborative
'
,
_
.
bind
(
me
.
onTryUndoInFastCollaborative
,
me
));
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
4c2ec43f
...
...
@@ -828,6 +828,7 @@ define([
documentHolder
.
setMode
(
this
.
appOptions
);
this
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
this
.
onSendThemeColors
,
this
));
this
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
this
.
onDownloadUrl
,
this
));
if
(
this
.
api
)
{
var
translateChart
=
new
Asc
.
asc_CChartTranslate
();
...
...
@@ -901,7 +902,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
/** coauthoring begin **/
me
.
api
.
asc_registerCallback
(
'
asc_onCollaborativeChanges
'
,
_
.
bind
(
me
.
onCollaborativeChanges
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_OnTryUndoInFastCollaborative
'
,
_
.
bind
(
me
.
onTryUndoInFastCollaborative
,
me
));
...
...
apps/presentationeditor/mobile/app/controller/Main.js
View file @
4c2ec43f
...
...
@@ -605,7 +605,8 @@ define([
});
if
(
me
.
api
)
{
me
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
this
.
onSendThemeColors
,
this
));
me
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
me
.
onSendThemeColors
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
var
translateChart
=
new
Asc
.
asc_CChartTranslate
();
translateChart
.
asc_setTitle
(
me
.
txtDiagramTitle
);
...
...
@@ -637,7 +638,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
/** coauthoring begin **/
me
.
api
.
asc_registerCallback
(
'
asc_onCollaborativeChanges
'
,
_
.
bind
(
me
.
onCollaborativeChanges
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_OnTryUndoInFastCollaborative
'
,
_
.
bind
(
me
.
onTryUndoInFastCollaborative
,
me
));
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
4c2ec43f
...
...
@@ -685,7 +685,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_OnTryUndoInFastCollaborative
'
,
_
.
bind
(
me
.
onTryUndoInFastCollaborative
,
me
));
me
.
onDocumentModifiedChanged
(
me
.
api
.
asc_isDocumentModified
());
...
...
@@ -881,6 +880,7 @@ define([
if
(
!
this
.
appOptions
.
isEditMailMerge
&&
!
this
.
appOptions
.
isEditDiagram
)
{
this
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
this
.
onSendThemeColors
,
this
));
this
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
this
.
onDownloadUrl
,
this
));
var
printController
=
app
.
getController
(
'
Print
'
);
printController
&&
this
.
api
&&
printController
.
setApi
(
this
.
api
);
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
4c2ec43f
...
...
@@ -702,6 +702,7 @@ define([
if
(
!
me
.
appOptions
.
isEditMailMerge
&&
!
me
.
appOptions
.
isEditDiagram
)
{
me
.
api
.
asc_registerCallback
(
'
asc_onSendThemeColors
'
,
_
.
bind
(
me
.
onSendThemeColors
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
}
},
...
...
@@ -715,7 +716,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
/** coauthoring begin **/
me
.
api
.
asc_registerCallback
(
'
asc_onCollaborativeChanges
'
,
_
.
bind
(
me
.
onCollaborativeChanges
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_OnTryUndoInFastCollaborative
'
,
_
.
bind
(
me
.
onTryUndoInFastCollaborative
,
me
));
...
...
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