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
4e6a2a44
Commit
4e6a2a44
authored
Aug 10, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE] Repaint review tip when changes length is changed.
parent
1949dc7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
apps/common/main/lib/controller/ReviewChanges.js
apps/common/main/lib/controller/ReviewChanges.js
+3
-1
No files found.
apps/common/main/lib/controller/ReviewChanges.js
View file @
4e6a2a44
...
...
@@ -125,7 +125,7 @@ define([
changes
=
this
.
readSDKChange
(
sdkchange
),
posX
=
sdkchange
[
0
].
get_X
(),
posY
=
sdkchange
[
0
].
get_Y
(),
animate
=
(
Math
.
abs
(
this
.
_state
.
posx
-
posX
)
>
0.001
||
Math
.
abs
(
this
.
_state
.
posy
-
posY
)
>
0.001
),
animate
=
(
Math
.
abs
(
this
.
_state
.
posx
-
posX
)
>
0.001
||
Math
.
abs
(
this
.
_state
.
posy
-
posY
)
>
0.001
)
||
(
sdkchange
.
length
!==
this
.
_state
.
changes_length
)
,
lock
=
(
sdkchange
[
0
].
get_LockUserId
()
!==
null
),
lockUser
=
this
.
getUserName
(
sdkchange
[
0
].
get_LockUserId
());
...
...
@@ -145,9 +145,11 @@ define([
}
this
.
_state
.
posx
=
posX
;
this
.
_state
.
posy
=
posY
;
this
.
_state
.
changes_length
=
sdkchange
.
length
;
this
.
_state
.
popoverVisible
=
true
;
}
else
if
(
this
.
_state
.
popoverVisible
){
this
.
_state
.
posx
=
this
.
_state
.
posy
=
-
1000
;
this
.
_state
.
changes_length
=
0
;
this
.
_state
.
popoverVisible
=
false
;
this
.
getPopover
().
hide
();
this
.
popoverChanges
.
reset
();
...
...
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