Minor fixes.

This commit is contained in:
Antoine Nguyen
2012-01-11 16:59:06 +01:00
parent 84e2a25319
commit 65fa753b7e
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -25,6 +25,10 @@ Request.JSON.mdb = new Class({
Extends: Request.JSON,
options: {
onComplete: ajax_login_redirect
onComplete: ajax_login_redirect,
onFailure: function(xhr) {
$(document.body).setStyle("overflow", "auto");
$(document.body).set("html", xhr.responseText);
}
}
});
});
+1 -1
View File
@@ -23,7 +23,7 @@
<a href="?page={{ objects.next_page_number }}">
<img src="{{ MEDIA_URL }}pics/next.png" border="0" title="{% trans "Next" %}" />
</a>
<a href="?page={{ page.last_page }}">
<a href="?page={{ objects.last_page }}">
<img src="{{ MEDIA_URL }}pics/last.png" border="0" title="{% trans "Last" %}" />
</a>
{% endif %}