Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
20a116a2
Commit
20a116a2
authored
Apr 30, 2015
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force visibility for new annotations
parent
2f4e5ffe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
app-controller.coffee
h/static/scripts/app-controller.coffee
+0
-3
annotation.coffee
h/static/scripts/directive/annotation.coffee
+3
-1
viewer.html
h/templates/client/viewer.html
+1
-1
No files found.
h/static/scripts/app-controller.coffee
View file @
20a116a2
...
...
@@ -84,9 +84,6 @@ module.exports = class AppController
# Reload the view.
$route
.
reload
()
$rootScope
.
$on
'beforeAnnotationCreated'
,
->
$scope
.
clearSelection
()
$scope
.
login
=
->
$scope
.
dialog
.
visible
=
true
identity
.
request
{
oncancel
}
...
...
h/static/scripts/directive/annotation.coffee
View file @
20a116a2
...
...
@@ -353,7 +353,9 @@ module.exports = [
if
editing
counter
.
count
'edit'
,
1
# Disable the filter and freeze it to always match while editing.
threadFilter
?
.
freeze
()
if
thread
?
and
threadFilter
?
threadFilter
.
active
(
false
)
threadFilter
.
freeze
(
true
)
else
if
old
counter
.
count
'edit'
,
-
1
threadFilter
?
.
freeze
(
false
)
...
...
h/templates/client/viewer.html
View file @
20a116a2
...
...
@@ -42,7 +42,7 @@
ng-click=
"scrollTo(child.message)"
ng-mouseleave=
"focus()"
ng-repeat=
"child in threadRoot.children | filter:notOrphan | orderBy : sort.predicate"
ng-show=
"shouldShowThread(child) && (count('edit') || count('match') || !threadFilter.active())"
>
ng-show=
"shouldShowThread(child) && (count('edit') || count('match') || !threadFilter.active())
|| vm.isNew()
"
>
</li>
</ul>
<!-- / Thread view -->
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