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
e15919e3
Commit
e15919e3
authored
Mar 15, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] оптимизация кода.
parent
de87ea51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
apps/spreadsheeteditor/main/app/controller/Toolbar.js
apps/spreadsheeteditor/main/app/controller/Toolbar.js
+6
-2
No files found.
apps/spreadsheeteditor/main/app/controller/Toolbar.js
View file @
e15919e3
...
...
@@ -1168,8 +1168,12 @@ define([
Common
.
util
.
Shortcuts
.
delegateShortcuts
({
shortcuts
:
{
'
command+l,ctrl+l
'
:
function
(
e
)
{
if
(
me
.
editMode
&&
(
!
me
.
api
.
asc_getCellInfo
().
asc_getAutoFilterInfo
()
||
me
.
api
.
asc_getCellInfo
().
asc_getAutoFilterInfo
().
asc_getTableName
()
===
null
))
if
(
me
.
editMode
)
{
var
cellinfo
=
me
.
api
.
asc_getCellInfo
(),
filterinfo
=
cellinfo
.
asc_getAutoFilterInfo
();
if
(
!
filterinfo
||
filterinfo
.
asc_getTableName
()
===
null
)
me
.
_setTableFormat
(
me
.
toolbar
.
mnuTableTemplatePicker
.
store
.
at
(
23
).
get
(
'
name
'
));
}
return
false
;
},
...
...
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