X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c3bcc0703d6255b78c2a6813bbea03e9581609e0..5913c54d19b8f6775633176032161d49f9b2f1aa:/redakcja/static/js/catalogue/catalogue.js diff --git a/redakcja/static/js/catalogue/catalogue.js b/redakcja/static/js/catalogue/catalogue.js deleted file mode 100755 index e6a210e3..00000000 --- a/redakcja/static/js/catalogue/catalogue.js +++ /dev/null @@ -1,32 +0,0 @@ -(function($) { - $(function() { - - - $('.filter').change(function() { - document.filter[this.name].value = this.value; - document.filter.submit(); - }); - - $('.check-filter').change(function() { - document.filter[this.name].value = this.checked ? '1' : ''; - document.filter.submit(); - }); - - $('.text-filter').each(function() { - var inp = this; - $(inp).parent().submit(function() { - document.filter[inp.name].value = inp.value; - document.filter.submit(); - return false; - }); - }); - - - $('.autoslug-source').change(function() { - $('.autoslug').attr('value', slugify(this.value)); - }); - - - }); -})(jQuery) -