From d3802aac61418039b0951f7fcfdd3dcc1ae299af Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 5 Oct 2011 15:31:35 +0200 Subject: [PATCH] annotations fix --- redakcja/settings/compress.py | 1 - redakcja/static/js/wiki/view_annotations.js | 3 ++- redakcja/templates/base.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redakcja/settings/compress.py b/redakcja/settings/compress.py index 5637cee6..60ce9e36 100644 --- a/redakcja/settings/compress.py +++ b/redakcja/settings/compress.py @@ -26,7 +26,6 @@ COMPRESS_JS = { 'detail': { 'source_filenames': ( # libraries - 'js/lib/jquery-1.4.2.min.js', 'js/lib/jquery/jquery.autocomplete.js', 'js/lib/jquery/jquery.blockui.js', 'js/lib/jquery/jquery.elastic.js', diff --git a/redakcja/static/js/wiki/view_annotations.js b/redakcja/static/js/wiki/view_annotations.js index 071e7ee6..5bac593c 100644 --- a/redakcja/static/js/wiki/view_annotations.js +++ b/redakcja/static/js/wiki/view_annotations.js @@ -101,7 +101,8 @@ if (!counter) { anno_list.sort(function(a, b){return a.sortby.localeCompare(b.sortby);}); - self.$annos.append(anno_list); + for (i in anno_list) + self.$annos.append(anno_list[i]); self.$spinner.hide(); self.$annos.show(); } diff --git a/redakcja/templates/base.html b/redakcja/templates/base.html index 971213fe..3e725d45 100644 --- a/redakcja/templates/base.html +++ b/redakcja/templates/base.html @@ -21,7 +21,7 @@
{% block maincontent %} {% endblock %}
- + {% block extrabody %}{% endblock %} -- 2.20.1