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
7d4c2adb
Commit
7d4c2adb
authored
Apr 06, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE][PE] Prevent browser event, when press Ctrl+S on dialog header.
parent
914a4e17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+9
-0
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+8
-0
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
7d4c2adb
...
...
@@ -231,6 +231,15 @@ define([
});
this
.
initNames
();
//for shapes
Common
.
util
.
Shortcuts
.
delegateShortcuts
({
shortcuts
:
{
'
command+s,ctrl+s
'
:
_
.
bind
(
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
},
this
)
}
});
}
},
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
7d4c2adb
...
...
@@ -221,6 +221,14 @@ define([
});
this
.
initNames
();
Common
.
util
.
Shortcuts
.
delegateShortcuts
({
shortcuts
:
{
'
command+s,ctrl+s
'
:
_
.
bind
(
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
},
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