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
afec184c
Commit
afec184c
authored
Mar 21, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Fix Bug 34443.
parent
8133a35c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js
apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js
+4
-2
No files found.
apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js
View file @
afec184c
...
...
@@ -288,8 +288,10 @@ define([
this
.
cmbType
.
selectRecord
(
selectedItem
);
else
if
(
props
.
formatInfo
.
asc_getType
()
==
Asc
.
c_oAscNumFormatType
.
Fraction
)
this
.
cmbType
.
setValue
(
this
.
txtCustom
);
else
if
(
props
.
formatInfo
.
asc_getType
()
==
Asc
.
c_oAscNumFormatType
.
Time
)
this
.
cmbType
.
setValue
(
this
.
api
.
asc_getLocaleExample
(
props
.
format
,
1.534
));
else
this
.
cmbType
.
setValue
(
this
.
api
.
asc_getLocaleExample
(
props
.
format
),
37973
);
this
.
cmbType
.
setValue
(
this
.
api
.
asc_getLocaleExample
(
props
.
format
,
37973
)
);
}
this
.
Format
=
props
.
format
;
}
...
...
@@ -439,7 +441,7 @@ define([
var
formatsarr
=
this
.
api
.
asc_getFormatCells
(
info
),
data
=
[],
exampleVal
=
(
record
.
value
==
Asc
.
c_oAscNumFormatType
.
Date
)
?
37973
:
((
record
.
value
==
Asc
.
c_oAscNumFormatType
.
Time
)
?
0.123
:
parseFloat
(
"
-1234.12345678901234567890
"
));
exampleVal
=
(
record
.
value
==
Asc
.
c_oAscNumFormatType
.
Date
)
?
37973
:
((
record
.
value
==
Asc
.
c_oAscNumFormatType
.
Time
)
?
1.534
:
parseFloat
(
"
-1234.12345678901234567890
"
));
formatsarr
.
forEach
(
function
(
item
)
{
data
.
push
({
value
:
item
,
displayValue
:
me
.
api
.
asc_getLocaleExample
(
item
,
exampleVal
)});
});
...
...
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