[Notice] Announcing the End of Demo Server [Read me]

issue: Enhance sharing issue button
@7ae12540f6caa568e7441a4db2c3c1e44eeb6013
--- app/views/issue/view.scala.html
+++ app/views/issue/view.scala.html
... | ... | @@ -186,7 +186,7 @@ |
186 | 186 |
} |
187 | 187 |
</button> |
188 | 188 |
} |
189 |
- @if(isAllowedUpdate && !hasSharer) { |
|
189 |
+ @if(isAllowedUpdate) { |
|
190 | 190 |
<button id="issue-share-button" type="button" class="ybtn" data-toggle="popover" data-trigger="hover" data-placement="top" data-content="@Messages("issue.sharer.description")">@Messages("button.share.issue")</button> |
191 | 191 |
} |
192 | 192 |
|
... | ... | @@ -520,6 +520,7 @@ |
520 | 520 |
$('#issue-share-button').on('click', function () { |
521 | 521 |
$('#sharer-list').show(); |
522 | 522 |
$('.sharer-list').show().addClass("sharer-list-border"); |
523 |
+ $('#sharer-list .select2-search-field > input').focus(); |
|
523 | 524 |
}); |
524 | 525 |
|
525 | 526 |
$('#translate').one('click', function (e) { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?