Skip to content

Commit 8946e1e

Browse files
author
Yuan Xie
committed
3) Fixing the JavaScript that wrong locale is deleted by the delete buttons
1 parent 5559097 commit 8946e1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/views/layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
$(document).ready(function () {
9494
$('#locales input').click(function(e) {
9595
var li = $(e.target).parent();
96-
confirm('Are you sure?') && removeLocale(li.data('id'), li.data('index'));
96+
confirm('Are you sure?') && removeLocale(li.data('index'), li.data('id'));
9797
});
9898
$('#nav-new-locale').click(function() {
9999
$('.alert-message').hide();

0 commit comments

Comments
 (0)