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
71f6c992
Commit
71f6c992
authored
Sep 20, 2017
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import patch created Vincent Bechu
@vincentB
parent
0d80d4c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+4
-0
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+4
-0
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+4
-0
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
71f6c992
...
...
@@ -933,9 +933,13 @@ define([
Common
.
Gateway
.
on
(
'
processmouse
'
,
_
.
bind
(
me
.
onProcessMouse
,
me
));
Common
.
Gateway
.
on
(
'
refreshhistory
'
,
_
.
bind
(
me
.
onRefreshHistory
,
me
));
Common
.
Gateway
.
on
(
'
save
'
,
function
()
{
var
g
=
Common
.
Gateway
;
if
(
me
.
api
.
isDocumentModified
())
{
me
.
api
.
asc_Save
();
}
if
(
g
.
props
.
save_defer
)
{
g
.
props
.
save_defer
.
resolve
(
undefined
);
}
});
Common
.
Gateway
.
on
(
'
downloadas
'
,
_
.
bind
(
me
.
onDownloadAs
,
me
));
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
71f6c992
...
...
@@ -712,9 +712,13 @@ define([
Common
.
Gateway
.
on
(
'
processrightschange
'
,
_
.
bind
(
me
.
onProcessRightsChange
,
me
));
Common
.
Gateway
.
on
(
'
processmouse
'
,
_
.
bind
(
me
.
onProcessMouse
,
me
));
Common
.
Gateway
.
on
(
'
save
'
,
function
()
{
var
g
=
Common
.
Gateway
;
if
(
me
.
api
.
isDocumentModified
())
{
me
.
api
.
asc_Save
();
}
if
(
g
.
props
.
save_defer
)
{
g
.
props
.
save_defer
.
resolve
(
undefined
);
}
});
Common
.
Gateway
.
on
(
'
downloadas
'
,
_
.
bind
(
me
.
onDownloadAs
,
me
));
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
71f6c992
...
...
@@ -716,9 +716,13 @@ define([
Common
.
Gateway
.
on
(
'
processrightschange
'
,
_
.
bind
(
me
.
onProcessRightsChange
,
me
));
Common
.
Gateway
.
on
(
'
processmouse
'
,
_
.
bind
(
me
.
onProcessMouse
,
me
));
Common
.
Gateway
.
on
(
'
save
'
,
function
()
{
var
g
=
Common
.
Gateway
;
if
(
me
.
api
.
asc_isDocumentModified
())
{
me
.
api
.
asc_Save
();
}
if
(
g
.
props
.
save_defer
)
{
g
.
props
.
save_defer
.
resolve
(
undefined
);
}
});
Common
.
Gateway
.
on
(
'
downloadas
'
,
_
.
bind
(
me
.
onDownloadAs
,
me
));
Common
.
Gateway
.
sendInfo
({
mode
:
me
.
appOptions
.
isEdit
?
'
edit
'
:
'
view
'
});
...
...
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