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
b06edd9a
Commit
b06edd9a
authored
May 05, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] AutoFilterDialog: отладка заполнения массивов с цветами.
parent
3de94942
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js
apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js
+7
-4
No files found.
apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js
View file @
b06edd9a
...
...
@@ -887,7 +887,7 @@ define([
this
.
miSortFontColor
.
setVisible
(
hasColors
);
this
.
miFilterFontColor
.
setVisible
(
hasColors
);
if
(
hasColors
)
{
var
colors
=
[
'
transparent
'
];
var
colors
=
[];
colorsFont
.
forEach
(
function
(
item
,
index
)
{
colors
.
push
(
Common
.
Utils
.
ThemeColor
.
getHexColor
(
item
.
get_r
(),
item
.
get_g
(),
item
.
get_b
()).
toLocaleUpperCase
());
});
...
...
@@ -904,10 +904,13 @@ define([
this
.
miSortCellColor
.
setVisible
(
hasColors
);
this
.
miFilterCellColor
.
setVisible
(
hasColors
);
if
(
hasColors
)
{
var
colors
=
[
'
transparent
'
];
var
colors
=
[];
colorsFill
.
forEach
(
function
(
item
,
index
)
{
colors
.
push
(
Common
.
Utils
.
ThemeColor
.
getHexColor
(
item
.
get_r
(),
item
.
get_g
(),
item
.
get_b
()).
toLocaleUpperCase
());
});
if
(
item
)
colors
.
push
(
Common
.
Utils
.
ThemeColor
.
getHexColor
(
item
.
get_r
(),
item
.
get_g
(),
item
.
get_b
()).
toLocaleUpperCase
());
else
colors
.
push
(
'
transparent
'
);
});
this
.
mnuSortColorCellsPicker
.
updateColors
(
colors
);
this
.
mnuFilterColorCellsPicker
.
updateColors
(
colors
);
...
...
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