summaryrefslogtreecommitdiff
path: root/website/static/admin/js/prepopulate.min.js
diff options
context:
space:
mode:
authorprashantsinalkar2017-09-21 15:59:32 +0530
committerprashantsinalkar2017-09-21 15:59:32 +0530
commite168d3e17d351a298fcf57f3b8eb37a81a1c5cbc (patch)
treefa468f44c4921675ac8ec999487adb3a4e3dc0aa /website/static/admin/js/prepopulate.min.js
parentba323eb4bc51e64840692061829c8ff1fc494c6a (diff)
downloadSciPy2017-e168d3e17d351a298fcf57f3b8eb37a81a1c5cbc.tar.gz
SciPy2017-e168d3e17d351a298fcf57f3b8eb37a81a1c5cbc.tar.bz2
SciPy2017-e168d3e17d351a298fcf57f3b8eb37a81a1c5cbc.zip
added admin templates
Diffstat (limited to 'website/static/admin/js/prepopulate.min.js')
-rw-r--r--website/static/admin/js/prepopulate.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/website/static/admin/js/prepopulate.min.js b/website/static/admin/js/prepopulate.min.js
new file mode 100644
index 0000000..75f3c17
--- /dev/null
+++ b/website/static/admin/js/prepopulate.min.js
@@ -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);