mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-22 00:50:31 +00:00
13 lines
338 B
JavaScript
13 lines
338 B
JavaScript
$(document).ready(function() {
|
|
|
|
/**
|
|
* Dynamicaly adds button to each input element
|
|
* Required by filter section to allow form to be submitted
|
|
*/
|
|
$("#filter_form").find('input').each(function(){
|
|
var input_field = $(this);
|
|
|
|
var btn = input_field.after('<button class="btn">Go</button>');
|
|
});
|
|
|
|
});
|