|
@@ -137,9 +137,6 @@ file that was distributed with this source code.
|
|
$('#list_batch_checkbox').click(function(){
|
|
$('#list_batch_checkbox').click(function(){
|
|
$(this).closest('table').find("td input[type='checkbox']").attr('checked', $(this).is(':checked')).parent().parent().toggleClass('sonata-ba-list-row-selected', $(this).is(':checked'));
|
|
$(this).closest('table').find("td input[type='checkbox']").attr('checked', $(this).is(':checked')).parent().parent().toggleClass('sonata-ba-list-row-selected', $(this).is(':checked'));
|
|
});
|
|
});
|
|
- $('.delete_link').click(function(e){
|
|
|
|
- if (!confirm('{% trans from 'SonataAdminBundle' %}confirm_msg{% endtrans %}')) e.preventDefault();
|
|
|
|
- });
|
|
|
|
$("td.sonata-ba-list-field-batch input[type='checkbox']").change(function(){
|
|
$("td.sonata-ba-list-field-batch input[type='checkbox']").change(function(){
|
|
$(this).parent().parent().toggleClass('sonata-ba-list-row-selected', $(this).is(':checked'));
|
|
$(this).parent().parent().toggleClass('sonata-ba-list-row-selected', $(this).is(':checked'));
|
|
});
|
|
});
|