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
24ce4d9b
Commit
24ce4d9b
authored
Dec 06, 2016
by
Alexey Golubev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/v4.2.1'
parents
04872f23
dd1a5317
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
apps/common/main/lib/view/ExternalDiagramEditor.js
apps/common/main/lib/view/ExternalDiagramEditor.js
+1
-1
apps/common/main/resources/less/buttons.less
apps/common/main/resources/less/buttons.less
+4
-4
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+8
-2
No files found.
apps/common/main/lib/view/ExternalDiagramEditor.js
View file @
24ce4d9b
...
...
@@ -62,7 +62,7 @@ define([
'
<div class="separator horizontal"/>
'
,
'
<div class="footer" style="text-align: center;">
'
,
'
<button id="id-btn-diagram-editor-apply" class="btn normal dlg-btn primary custom" result="ok" style="margin-right: 10px;">
'
+
this
.
textSave
+
'
</button>
'
,
'
<button id="id-btn-diagram-editor-cancel" class="btn normal dlg-btn
disabled
" result="cancel">
'
+
this
.
textClose
+
'
</button>
'
,
'
<button id="id-btn-diagram-editor-cancel" class="btn normal dlg-btn" result="cancel">
'
+
this
.
textClose
+
'
</button>
'
,
'
</div>
'
].
join
(
''
);
...
...
apps/common/main/resources/less/buttons.less
View file @
24ce4d9b
...
...
@@ -454,8 +454,8 @@
color: @gray-deep;
background-color: @secondary;
&:hover,
&.hover {
&:hover
:not(.disabled)
,
&.hover
:not(.disabled)
{
background-color: @secondary-hover;
}
...
...
@@ -463,8 +463,8 @@
color: #fff;
background-color: @primary;
&:hover,
&.hover {
&:hover
:not(.disabled)
,
&.hover
:not(.disabled)
{
background-color: @primary-hover;
}
}
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
24ce4d9b
...
...
@@ -158,7 +158,7 @@ define([
var
me
=
this
;
// Syncronize focus with api
$
(
document
.
body
).
on
(
'
focus
'
,
'
input, textarea:not(#ce-cell-content)
'
,
function
(
e
)
{
if
(
this
.
isAppDisabled
===
true
)
return
;
if
(
me
.
isAppDisabled
===
true
)
return
;
if
(
e
&&
e
.
target
&&
!
/area_id/
.
test
(
e
.
target
.
id
))
{
if
(
/msg-reply/
.
test
(
e
.
target
.
className
))
...
...
@@ -167,7 +167,8 @@ define([
});
$
(
document
.
body
).
on
(
'
blur
'
,
'
input, textarea
'
,
function
(
e
)
{
if
(
this
.
isAppDisabled
===
true
)
return
;
if
(
me
.
isAppDisabled
===
true
||
me
.
isFrameClosed
)
return
;
if
(
!
me
.
isModalShowed
&&
!
(
me
.
loadMask
&&
me
.
loadMask
.
isVisible
()))
{
if
(
!
e
.
relatedTarget
||
!
/area_id/
.
test
(
e
.
target
.
id
)
&&
$
(
e
.
target
).
parent
().
find
(
e
.
relatedTarget
).
length
<
1
/* Check if focus in combobox goes from input to it's menu button or menu items */
...
...
@@ -284,6 +285,8 @@ define([
if
(
this
.
appOptions
.
location
==
'
us
'
||
this
.
appOptions
.
location
==
'
ca
'
)
Common
.
Utils
.
Metric
.
setDefaultMetric
(
Common
.
Utils
.
Metric
.
c_MetricUnits
.
inch
);
this
.
isFrameClosed
=
(
this
.
appOptions
.
isEditDiagram
||
this
.
appOptions
.
isEditMailMerge
);
},
loadDocument
:
function
(
data
)
{
...
...
@@ -1617,6 +1620,7 @@ define([
break
;
case
'
queryClose
'
:
if
(
$
(
'
body .asc-window:visible
'
).
length
===
0
)
{
this
.
isFrameClosed
=
true
;
this
.
api
.
asc_closeCellEditor
();
Common
.
Gateway
.
internalMessage
(
'
canClose
'
,
{
mr
:
data
.
data
.
mr
,
answer
:
true
});
}
...
...
@@ -1634,6 +1638,7 @@ define([
setChartData
:
function
(
chart
)
{
if
(
typeof
chart
===
'
object
'
&&
this
.
api
)
{
this
.
api
.
asc_addChartDrawingObject
(
chart
);
this
.
isFrameClosed
=
false
;
}
},
...
...
@@ -1656,6 +1661,7 @@ define([
setMergeData
:
function
(
merge
)
{
if
(
typeof
merge
===
'
object
'
&&
this
.
api
)
{
this
.
api
.
asc_setData
(
merge
);
this
.
isFrameClosed
=
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