diff options
author | prashantsinalkar | 2019-09-07 23:46:39 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-09-07 23:46:39 +0530 |
commit | 0c926397cd40f5a424f5e409742d5c472506bbd8 (patch) | |
tree | 3dd2fa18922e2ee78fbf28cd8b96bfa4765df487 /website/static/admin/js/prepopulate.min.js | |
parent | 7724e55533e4c571dc66f12539803a1f1b70e0c5 (diff) | |
download | R_on_Cloud_Web_Interface-0c926397cd40f5a424f5e409742d5c472506bbd8.tar.gz R_on_Cloud_Web_Interface-0c926397cd40f5a424f5e409742d5c472506bbd8.tar.bz2 R_on_Cloud_Web_Interface-0c926397cd40f5a424f5e409742d5c472506bbd8.zip |
added static
Diffstat (limited to 'website/static/admin/js/prepopulate.min.js')
-rw-r--r-- | website/static/admin/js/prepopulate.min.js | 1 |
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..43c1b79 --- /dev/null +++ b/website/static/admin/js/prepopulate.min.js @@ -0,0 +1 @@ +(function(b){b.fn.prepopulate=function(d,f,g){return this.each(function(){var a=b(this),h=function(){if(!a.data("_changed")){var e=[];b.each(d,function(a,c){c=b(c);0<c.val().length&&e.push(c.val())});a.val(URLify(e.join(" "),f,g))}};a.data("_changed",!1);a.on("change",function(){a.data("_changed",!0)});if(!a.val())b(d.join(",")).on("keyup change focus",h)})}})(django.jQuery); |