diff --git a/templates/2k11/admin/serendipity_editor.js.tpl b/templates/2k11/admin/serendipity_editor.js.tpl index 05352fc0..719fe601 100644 --- a/templates/2k11/admin/serendipity_editor.js.tpl +++ b/templates/2k11/admin/serendipity_editor.js.tpl @@ -752,4 +752,10 @@ function highlightComment(id, checkvalue) { }); } }); + + // MediaDB-Filter-Buttons should react instantly + $('input[name="serendipity[filter][fileCategory]"]').on('change', function() { + $('#media_library_control').submit(); + }); + })(jQuery);