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
Tatuya Kamada
gitlab-ce
Commits
693cee89
Commit
693cee89
authored
Sep 29, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent notes polling when there are not notes
parent
9654cbb5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/notes.js.coffee
app/assets/javascripts/notes.js.coffee
+3
-1
No files found.
CHANGELOG
View file @
693cee89
...
@@ -8,6 +8,7 @@ v 7.4.0
...
@@ -8,6 +8,7 @@ v 7.4.0
- Sort search autocomplete projects by stars count so most popular go first
- Sort search autocomplete projects by stars count so most popular go first
- Do not delete tmp/repositories itself during clean-up, only its contents
- Do not delete tmp/repositories itself during clean-up, only its contents
- Support for backup uploads to remote storage
- Support for backup uploads to remote storage
- Prevent notes polling when there are not notes
v 7.3.1
v 7.3.1
- Fix ref parsing in Gitlab::GitAccess
- Fix ref parsing in Gitlab::GitAccess
...
...
app/assets/javascripts/notes.js.coffee
View file @
693cee89
...
@@ -6,6 +6,7 @@ class Notes
...
@@ -6,6 +6,7 @@ class Notes
@
notes_url
=
gon
.
relative_url_root
+
@
notes_url
if
gon
.
relative_url_root
?
@
notes_url
=
gon
.
relative_url_root
+
@
notes_url
if
gon
.
relative_url_root
?
@
note_ids
=
note_ids
@
note_ids
=
note_ids
@
last_fetched_at
=
last_fetched_at
@
last_fetched_at
=
last_fetched_at
@
noteable_url
=
document
.
URL
@
initRefresh
()
@
initRefresh
()
@
setupMainTargetNoteForm
()
@
setupMainTargetNoteForm
()
@
cleanBinding
()
@
cleanBinding
()
...
@@ -95,7 +96,8 @@ class Notes
...
@@ -95,7 +96,8 @@ class Notes
,
15000
,
15000
refresh
:
->
refresh
:
->
@
getContent
()
unless
document
.
hidden
unless
document
.
hidden
or
(
@
noteable_url
!=
document
.
URL
)
@
getContent
()
getContent
:
->
getContent
:
->
$
.
ajax
$
.
ajax
...
...
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