Skip to content

Commit

Permalink
Merge pull request #2471 from bgeuken/maintainers
Browse files Browse the repository at this point in the history
[webui] Fix closing of package maintainer list
  • Loading branch information
bgeuken committed Dec 16, 2016
2 parents af51d52 + 684cb50 commit a26cc44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/api/app/assets/javascripts/webui/application.js
Expand Up @@ -255,8 +255,8 @@ $(function() {
$('.show_dialog').on('click', function() {
$($(this).data('target')).removeClass('hidden');
});
});

$('.close-dialog').on('click', function() {
$($(this).data('target')).addClass('hidden');
});
$(document).on('click','.close-dialog', function() {
$($(this).data('target')).addClass('hidden');
});
Expand Up @@ -15,7 +15,7 @@
</table>

<div class="dialog-buttons">
<%= link_to('close', '#', title: 'Close', class: 'close_dialog', data: { target: '#maintainers_dialog' }) %>
<%= link_to('close', '#', title: 'Close', class: 'close-dialog', data: { target: '#maintainers_dialog' }) %>
</div>
</div>
</div>
Expand Down

0 comments on commit a26cc44

Please sign in to comment.