From 1afdd5e21fdc332d7069cf634113bdfa3aadf0f0 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Mon, 4 Feb 2013 12:09:38 -0500 Subject: [PATCH] bugfixing --- frontend/templates/unglued_list.html | 38 +++++++++++++++------------- static/js/hijax_unglued.js | 2 +- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/frontend/templates/unglued_list.html b/frontend/templates/unglued_list.html index 3dacdacc..2c082448 100644 --- a/frontend/templates/unglued_list.html +++ b/frontend/templates/unglued_list.html @@ -83,26 +83,28 @@
- {% ifequal work_list.count 0 %} - There aren't any {{ pub_lang|ez_lang_name }} works in this list. Why don't you add some? - {% else %} - {% lazy_paginate 20 work_list using "work_list" %} - {% for work in work_list %} -
- {% with work.last_campaign_status as status %} - {% with work.last_campaign.deadline as deadline %} - {% with work.googlebooks_id as googlebooks_id %} - {% include "book_panel.html" %} - {% endwith %}{% endwith %}{% endwith %} -
- {% endfor %} -
diff --git a/static/js/hijax_unglued.js b/static/js/hijax_unglued.js index 47ec6c29..b721e298 100644 --- a/static/js/hijax_unglued.js +++ b/static/js/hijax_unglued.js @@ -6,6 +6,6 @@ var $j = jQuery.noConflict(); $j(document).ready(function() { $j("a.hijax_unglued").click(function(event) { event.preventDefault(); - $j("#content-block-content").load($j(this).attr("href") + " #content-block-content"); + $j("#content-block-content").html('').load($j(this).attr("href") + " #books-go-here"); }); }); \ No newline at end of file