kopia lustrzana https://github.com/wagtail/wagtail
Update modal choosers
rodzic
7ec6ec98c5
commit
f22bed7bbe
|
@ -75,7 +75,7 @@ function(modal) {
|
|||
return false;
|
||||
});
|
||||
|
||||
$('form.document-search', modal.body).submit(search);
|
||||
$('form.document-search', modal.body).on('submit', search);
|
||||
|
||||
$('#id_q').on('input', function() {
|
||||
clearTimeout($.data(this, 'timer'));
|
||||
|
|
|
@ -83,7 +83,7 @@ function(modal) {
|
|||
return false;
|
||||
});
|
||||
|
||||
$('form.image-search', modal.body).submit(search);
|
||||
$('form.image-search', modal.body).on('submit', search);
|
||||
|
||||
$('#id_q').on('input', function() {
|
||||
clearTimeout($.data(this, 'timer'));
|
||||
|
|
|
@ -49,7 +49,7 @@ function(modal) {
|
|||
|
||||
ajaxifyLinks(modal.body);
|
||||
|
||||
$('form.query-search', modal.body).submit(search);
|
||||
$('form.query-search', modal.body).on('submit', search);
|
||||
|
||||
$('#id_q').on('input', function() {
|
||||
clearTimeout($.data(this, 'timer'));
|
||||
|
|
|
@ -45,7 +45,7 @@ function initModal(modal) {
|
|||
return false;
|
||||
}
|
||||
|
||||
$('form.snippet-search', modal.body).submit(search);
|
||||
$('form.snippet-search', modal.body).on('submit', search);
|
||||
|
||||
$('#id_q').on('input', function() {
|
||||
clearTimeout($.data(this, 'timer'));
|
||||
|
|
Ładowanie…
Reference in New Issue