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
a946d157
Commit
a946d157
authored
Jul 05, 2017
by
Julia Radzhabova
Committed by
GitHub
Jul 05, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #78 from ONLYOFFICE/feature/bug-fix
Feature/bug fix
parents
6a9407d6
1cead7d9
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
38 additions
and
20 deletions
+38
-20
apps/common/main/lib/util/utils.js
apps/common/main/lib/util/utils.js
+10
-9
apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js
...documenteditor/main/app/view/ParagraphSettingsAdvanced.js
+1
-0
apps/documenteditor/main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm
...main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm
+2
-2
apps/documenteditor/main/resources/help/ru/HelpfulHints/KeyboardShortcuts.htm
...main/resources/help/ru/HelpfulHints/KeyboardShortcuts.htm
+2
-2
apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js
...entationeditor/main/app/view/ParagraphSettingsAdvanced.js
+1
-0
apps/presentationeditor/main/app/view/Statusbar.js
apps/presentationeditor/main/app/view/Statusbar.js
+3
-2
apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template
...adsheeteditor/main/app/template/ChartSettingsDlg.template
+1
-1
apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js
apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js
+2
-3
apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js
...eadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js
+1
-0
apps/spreadsheeteditor/main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm
...main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm
+8
-1
apps/spreadsheeteditor/main/resources/help/ru/HelpfulHints/KeyboardShortcuts.htm
...main/resources/help/ru/HelpfulHints/KeyboardShortcuts.htm
+7
-0
No files found.
apps/common/main/lib/util/utils.js
View file @
a946d157
...
...
@@ -49,23 +49,24 @@ Common.Utils = _.extend(new(function() {
return
(
is
&&
(
m
=
regex
.
exec
(
userAgent
)))
?
parseFloat
(
m
[
1
])
:
0
;
},
docMode
=
document
.
documentMode
,
isEdge
=
check
(
/edge/
),
isOpera
=
check
(
/opera/
),
isOpera10_5
=
isOpera
&&
check
(
/version
\/
10
\.
5/
),
isChrome
=
check
(
/
\b
chrome
\b
/
),
isWebKit
=
check
(
/webkit/
),
isSafari
=
!
isChrome
&&
check
(
/safari/
),
isSafari2
=
isSafari
&&
check
(
/applewebkit
\/
4/
),
// unique to Safari 2
isSafari3
=
isSafari
&&
check
(
/version
\/
3/
),
isSafari4
=
isSafari
&&
check
(
/version
\/
4/
),
isSafari5_0
=
isSafari
&&
check
(
/version
\/
5
\.
0/
),
isSafari5
=
isSafari
&&
check
(
/version
\/
5/
),
isIE
=
!
isOpera
&&
(
check
(
/msie/
)
||
check
(
/trident/
)),
isIE
=
!
isOpera
&&
(
check
(
/msie/
)
||
check
(
/trident/
)
||
check
(
/edge/
)),
isIE7
=
isIE
&&
((
check
(
/msie 7/
)
&&
docMode
!=
8
&&
docMode
!=
9
&&
docMode
!=
10
)
||
docMode
==
7
),
isIE8
=
isIE
&&
((
check
(
/msie 8/
)
&&
docMode
!=
7
&&
docMode
!=
9
&&
docMode
!=
10
)
||
docMode
==
8
),
isIE9
=
isIE
&&
((
check
(
/msie 9/
)
&&
docMode
!=
7
&&
docMode
!=
8
&&
docMode
!=
10
)
||
docMode
==
9
),
isIE10
=
isIE
&&
((
check
(
/msie 10/
)
&&
docMode
!=
7
&&
docMode
!=
8
&&
docMode
!=
9
)
||
docMode
==
10
),
isIE11
=
isIE
&&
((
check
(
/trident
\/
7
\.
0/
)
&&
docMode
!=
7
&&
docMode
!=
8
&&
docMode
!=
9
&&
docMode
!=
10
)
||
docMode
==
11
),
isIE6
=
isIE
&&
check
(
/msie 6/
),
isChrome
=
!
isIE
&&
check
(
/
\b
chrome
\b
/
),
isWebKit
=
!
isIE
&&
check
(
/webkit/
),
isSafari
=
!
isIE
&&
!
isChrome
&&
check
(
/safari/
),
isSafari2
=
isSafari
&&
check
(
/applewebkit
\/
4/
),
// unique to Safari 2
isSafari3
=
isSafari
&&
check
(
/version
\/
3/
),
isSafari4
=
isSafari
&&
check
(
/version
\/
4/
),
isSafari5_0
=
isSafari
&&
check
(
/version
\/
5
\.
0/
),
isSafari5
=
isSafari
&&
check
(
/version
\/
5/
),
isGecko
=
!
isWebKit
&&
!
isIE
&&
check
(
/gecko/
),
// IE11 adds "like gecko" into the user agent string
isGecko3
=
isGecko
&&
check
(
/rv:1
\.
9/
),
isGecko4
=
isGecko
&&
check
(
/rv:2
\.
0/
),
...
...
apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js
View file @
a946d157
...
...
@@ -1063,6 +1063,7 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem
});
if
(
rec
)
{
rec
.
set
(
'
tabAlign
'
,
align
);
this
.
_tabListChanged
=
true
;
}
else
{
rec
=
new
Common
.
UI
.
DataViewModel
();
rec
.
set
({
...
...
apps/documenteditor/main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm
View file @
a946d157
...
...
@@ -342,9 +342,9 @@
<td>
Maintain the proportions of the selected object when resizing.
</td>
</tr>
<tr>
<td>
Movement by
thre
e-pixel increments
</td>
<td>
Movement by
on
e-pixel increments
</td>
<td>
Ctrl
</td>
<td>
Hold down the Ctrl key and use the keybord arrows to move the selected object by
three pixels
at a time.
</td>
<td>
Hold down the Ctrl key and use the keybord arrows to move the selected object by
one pixel
at a time.
</td>
</tr>
</table>
</div>
...
...
apps/documenteditor/main/resources/help/ru/HelpfulHints/KeyboardShortcuts.htm
View file @
a946d157
...
...
@@ -340,9 +340,9 @@
<td>
Сохранять пропорции выбранного объекта при изменении размера.
</td>
</tr>
<tr>
<td>
Перемещение с шагом в
три пикселя
</td>
<td>
Перемещение с шагом в
один пиксель
</td>
<td>
Ctrl
</td>
<td>
Удерживайте клавишу Ctrl и используйте стрелки на клавиатуре, чтобы перемещать выбранный объект на
три пикселя
за раз.
</td>
<td>
Удерживайте клавишу Ctrl и используйте стрелки на клавиатуре, чтобы перемещать выбранный объект на
один пиксель
за раз.
</td>
</tr>
</table>
</div>
...
...
apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js
View file @
a946d157
...
...
@@ -507,6 +507,7 @@ define([ 'text!presentationeditor/main/app/template/ParagraphSettingsAdvanced
});
if
(
rec
)
{
rec
.
set
(
'
tabAlign
'
,
align
);
this
.
_tabListChanged
=
true
;
}
else
{
rec
=
new
Common
.
UI
.
DataViewModel
();
rec
.
set
({
...
...
apps/presentationeditor/main/app/view/Statusbar.js
View file @
a946d157
...
...
@@ -496,9 +496,10 @@ define([
this
.
_state
.
no_paragraph
=
true
;
var
i
=
-
1
;
while
(
++
i
<
selectedObjects
.
length
)
{
if
(
selectedObjects
[
i
].
get_ObjectType
()
==
Asc
.
c_oAscTypeSelectElement
.
Paragraph
)
{
var
type
=
selectedObjects
[
i
].
get_ObjectType
();
if
(
type
==
Asc
.
c_oAscTypeSelectElement
.
Paragraph
||
type
==
Asc
.
c_oAscTypeSelectElement
.
Shape
||
type
==
Asc
.
c_oAscTypeSelectElement
.
Chart
||
type
==
Asc
.
c_oAscTypeSelectElement
.
Table
)
{
this
.
_state
.
no_paragraph
=
selectedObjects
[
i
].
get_ObjectValue
().
get_Locked
();
break
;
if
(
this
.
_state
.
no_paragraph
)
break
;
// break if one of the objects is locked
}
}
this
.
_state
.
no_paragraph
=
this
.
_state
.
no_paragraph
||
this
.
langMenu
.
items
.
length
<
1
;
...
...
apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template
View file @
a946d157
...
...
@@ -370,7 +370,7 @@
</td>
</tr>
<tr>
<td class="padding-small" width="2
0
0">
<td class="padding-small" width="2
3
0">
<label class="input-label"><%= scope.textShowEmptyCells %></label>
<div id="spark-dlg-combo-empty" class="input-group-nr" style="margin-right: 10px;"></div>
</td>
...
...
apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js
View file @
a946d157
...
...
@@ -888,7 +888,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template'
];
this
.
cmbEmptyCells
=
new
Common
.
UI
.
ComboBox
({
el
:
$
(
'
#spark-dlg-combo-empty
'
),
menuStyle
:
'
min-width:
188
px;
'
,
menuStyle
:
'
min-width:
220
px;
'
,
editable
:
false
,
cls
:
'
input-group-nr
'
});
...
...
@@ -1288,7 +1288,6 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template'
if
(
this
.
_changedProps
)
{
this
.
_changedProps
.
asc_setType
(
rawData
.
type
);
}
this
.
chartSettings
.
asc_setType
(
rawData
.
type
);
this
.
_state
.
SparkType
=
rawData
.
type
;
var
changed
=
false
,
...
...
@@ -1305,7 +1304,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template'
this
.
cmbEmptyCells
.
setValue
((
rawData
.
type
!==
Asc
.
c_oAscSparklineType
.
Line
&&
value
==
Asc
.
c_oAscEDispBlanksAs
.
Span
)
?
this
.
textEmptyLine
:
value
);
}
this
.
updateSparkStyles
(
this
.
chartSettings
.
asc_getStyles
());
this
.
updateSparkStyles
(
this
.
chartSettings
.
asc_getStyles
(
rawData
.
type
));
},
...
...
apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js
View file @
a946d157
...
...
@@ -506,6 +506,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ParagraphSettingsAdvanced.
});
if
(
rec
)
{
rec
.
set
(
'
tabAlign
'
,
align
);
this
.
_tabListChanged
=
true
;
}
else
{
rec
=
new
Common
.
UI
.
DataViewModel
();
rec
.
set
({
...
...
apps/spreadsheeteditor/main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm
View file @
a946d157
...
...
@@ -304,7 +304,14 @@
<td>
Alt+'='
</td>
<td>
Insert the
<b>
SUM
</b>
function into the selected cell.
</td>
</tr>
<tr>
<th
colspan=
"3"
>
Modifying Objects
</th>
</tr>
<tr>
<td>
Movement by one-pixel increments
</td>
<td>
Ctrl
</td>
<td>
Hold down the Ctrl key and use the keybord arrows to move the selected object by one pixel at a time.
</td>
</tr>
</table>
</div>
</body>
...
...
apps/spreadsheeteditor/main/resources/help/ru/HelpfulHints/KeyboardShortcuts.htm
View file @
a946d157
...
...
@@ -305,6 +305,13 @@
<td>
Alt+'='
</td>
<td>
Вставить функцию
<b>
SUM
</b>
в выделенную ячейку.
</td>
</tr>
<th
colspan=
"3"
>
Модификация объектов
</th>
</tr>
<tr>
<td>
Перемещение с шагом в один пиксель
</td>
<td>
Ctrl
</td>
<td>
Удерживайте клавишу Ctrl и используйте стрелки на клавиатуре, чтобы перемещать выбранный объект на один пиксель за раз.
</td>
</tr>
</table>
</div>
</body>
...
...
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