From: Radek Czajka Date: Wed, 5 Oct 2011 13:31:35 +0000 (+0200) Subject: annotations fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/d3802aac61418039b0951f7fcfdd3dcc1ae299af?ds=inline;hp=4ac9918f152cc49badd4a359bfed41e723161cdf annotations fix --- 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 %}