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
860a8114
Commit
860a8114
authored
Nov 07, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 33354.
parent
d2df65b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
apps/common/main/lib/component/Window.js
apps/common/main/lib/component/Window.js
+5
-0
apps/common/main/lib/view/Comments.js
apps/common/main/lib/view/Comments.js
+6
-8
No files found.
apps/common/main/lib/component/Window.js
View file @
860a8114
...
...
@@ -641,6 +641,11 @@ define([
$
(
document
).
on
(
'
keydown.
'
+
this
.
cid
,
this
.
binding
.
keydown
);
var
me
=
this
;
setTimeout
(
function
()
{
me
.
fireEvent
(
'
animate:before
'
,
me
);
},
10
);
if
(
this
.
options
.
animate
!==
false
)
{
this
.
$window
.
css
({
'
-webkit-transform
'
:
'
scale(0.8)
'
,
...
...
apps/common/main/lib/view/Comments.js
View file @
860a8114
...
...
@@ -473,19 +473,17 @@ define([
});
me
.
on
({
'
show
'
:
function
()
{
// me.calculateSizeOfContent();
me
.
commentsView
.
autoHeightTextBox
();
var
text
=
me
.
$window
.
find
(
'
textarea
'
);
if
(
text
&&
text
.
length
)
text
.
focus
();
text
.
keydown
(
function
(
event
)
{
me
.
$window
.
find
(
'
textarea
'
).
keydown
(
function
(
event
)
{
if
(
event
.
keyCode
==
Common
.
UI
.
Keys
.
ESC
)
{
me
.
hide
();
}
});
},
'
animate:before
'
:
function
()
{
var
text
=
me
.
$window
.
find
(
'
textarea
'
);
if
(
text
&&
text
.
length
)
text
.
focus
();
}
});
}
...
...
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