Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
iv
gitlab-ce
Commits
31e5f081
Commit
31e5f081
authored
May 12, 2016
by
Ben Yorke
Committed by
Jacob Schatz
May 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update notes immediately after closing/reopening
parent
d59f0d90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/notes.js.coffee
app/assets/javascripts/notes.js.coffee
+4
-4
No files found.
CHANGELOG
View file @
31e5f081
...
@@ -115,6 +115,7 @@ v 8.7.6
...
@@ -115,6 +115,7 @@ v 8.7.6
- Fix links on wiki pages for relative url setups. !4131 (Artem Sidorenko)
- Fix links on wiki pages for relative url setups. !4131 (Artem Sidorenko)
- Fix import from GitLab.com to a private instance failure. !4181
- Fix import from GitLab.com to a private instance failure. !4181
- Fix external imports not finding the import data. !4106
- Fix external imports not finding the import data. !4106
- Fix notification delay when changing status of an issue
v 8.7.5
v 8.7.5
- Fix relative links in wiki pages. !4050
- Fix relative links in wiki pages. !4050
...
...
app/assets/javascripts/notes.js.coffee
View file @
31e5f081
...
@@ -114,9 +114,9 @@ class @Notes
...
@@ -114,9 +114,9 @@ class @Notes
@
refresh
()
@
refresh
()
,
@
pollingInterval
,
@
pollingInterval
refresh
:
-
>
refresh
:
=
>
return
if
@
refreshing
is
true
return
if
@
refreshing
is
true
refreshing
=
true
@
refreshing
=
true
if
not
document
.
hidden
and
document
.
URL
.
indexOf
(
@
noteable_url
)
is
0
if
not
document
.
hidden
and
document
.
URL
.
indexOf
(
@
noteable_url
)
is
0
@
getContent
()
@
getContent
()
...
@@ -134,8 +134,8 @@ class @Notes
...
@@ -134,8 +134,8 @@ class @Notes
@
renderDiscussionNote
(
note
)
@
renderDiscussionNote
(
note
)
else
else
@
renderNote
(
note
)
@
renderNote
(
note
)
always
:
=>
.
always
()
=>
@
refreshing
=
false
@
refreshing
=
false
###
###
Increase @pollingInterval up to 120 seconds on every function call,
Increase @pollingInterval up to 120 seconds on every function call,
...
...
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