From 96156a0b7f59372dfa22710a45e1443af71bb8fb Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Sat, 20 Sep 2014 19:57:24 +0530 Subject: add dajax, admin static files --- static/admin/js/prepopulate.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/admin/js/prepopulate.min.js (limited to 'static/admin/js/prepopulate.min.js') diff --git a/static/admin/js/prepopulate.min.js b/static/admin/js/prepopulate.min.js new file mode 100644 index 0000000..aa94937 --- /dev/null +++ b/static/admin/js/prepopulate.min.js @@ -0,0 +1 @@ +(function(a){a.fn.prepopulate=function(d,g){return this.each(function(){var b=a(this);b.data("_changed",false);b.change(function(){b.data("_changed",true)});var c=function(){if(b.data("_changed")!=true){var e=[];a.each(d,function(h,f){a(f).val().length>0&&e.push(a(f).val())});b.val(URLify(e.join(" "),g))}};a(d.join(",")).keyup(c).change(c).focus(c)})}})(django.jQuery); -- cgit