First commit of the V2.
New base, new info.
This commit is contained in:
1
static/admin/js/prepopulate.min.js
vendored
Normal file
1
static/admin/js/prepopulate.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(c){c.fn.prepopulate=function(e,f,g){return this.each(function(){var a=c(this),b=function(){if(!a.data("_changed")){var b=[];c.each(e,function(a,d){d=c(d);0<d.val().length&&b.push(d.val())});a.val(URLify(b.join(" "),f,g))}};a.data("_changed",!1);a.change(function(){a.data("_changed",!0)});a.val()||c(e.join(",")).keyup(b).change(b).focus(b)})}})(django.jQuery);
|
Reference in New Issue
Block a user