diff options
Diffstat (limited to 'static/admin/js/collapse.min.js')
-rw-r--r-- | static/admin/js/collapse.min.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/static/admin/js/collapse.min.js b/static/admin/js/collapse.min.js deleted file mode 100644 index 6251d91..0000000 --- a/static/admin/js/collapse.min.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(a){a(document).ready(function(){a("fieldset.collapse").each(function(b,c){0===a(c).find("div.errors").length&&a(c).addClass("collapsed").find("h2").first().append(' (<a id="fieldsetcollapser'+b+'" class="collapse-toggle" href="#">'+gettext("Show")+"</a>)")});a("fieldset.collapse a.collapse-toggle").click(function(b){a(this).closest("fieldset").hasClass("collapsed")?a(this).text(gettext("Hide")).closest("fieldset").removeClass("collapsed").trigger("show.fieldset",[a(this).attr("id")]):a(this).text(gettext("Show")).closest("fieldset").addClass("collapsed").trigger("hide.fieldset", -[a(this).attr("id")]);return!1})})})(django.jQuery); |