Implemented dajax and moved models to media rather than static

This commit is contained in:
2013-08-17 21:12:21 +10:00
parent 88fe7b7e79
commit 59bab5fc10
106 changed files with 12547 additions and 12 deletions

1
admin/js/prepopulate.min.js vendored Normal file
View File

@@ -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);