From 1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 20 Feb 2020 12:58:59 +0530 Subject: Add user registration, login and abstract submission interfaces --- arduino_blog/static/admin/js/inlines.min.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 arduino_blog/static/admin/js/inlines.min.js (limited to 'arduino_blog/static/admin/js/inlines.min.js') diff --git a/arduino_blog/static/admin/js/inlines.min.js b/arduino_blog/static/admin/js/inlines.min.js new file mode 100644 index 0000000..65af8eb --- /dev/null +++ b/arduino_blog/static/admin/js/inlines.min.js @@ -0,0 +1,13 @@ +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,d,a){b instanceof String&&(b=String(b));for(var c=b.length,f=0;f'+a.addText+""),l=d.find("tr:last a")):(c.filter(":last").after('
'+a.addText+"
"),l=c.filter(":last").next().find("a")));l.on("click",function(d){d.preventDefault();d=b("#"+a.prefix+"-empty"); +var c=d.clone(!0);c.removeClass(a.emptyCssClass).addClass(a.formCssClass).attr("id",a.prefix+"-"+h);c.is("tr")?c.children(":last").append('
'+a.deleteText+"
"):c.is("ul")||c.is("ol")?c.append('
  • '+a.deleteText+"
  • "):c.children(":first").append(''+a.deleteText+"");c.find("*").each(function(){f(this,a.prefix,g.val())});c.insertBefore(b(d)); +b(g).val(parseInt(g.val(),10)+1);h+=1;""!==e.val()&&0>=e.val()-g.val()&&l.parent().hide();c.find("a."+a.deleteCssClass).on("click",function(d){d.preventDefault();c.remove();--h;a.removed&&a.removed(c);b(document).trigger("formset:removed",[c,a.prefix]);d=b("."+a.formCssClass);b("#id_"+a.prefix+"-TOTAL_FORMS").val(d.length);(""===e.val()||0 tr",b(d).tabularFormset(d,a.options)}})})})(django.jQuery); -- cgit