From f566d6e7af25baf1d6ce91e385efdf10284fa71c Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Wed, 25 Apr 2012 17:25:39 +0200 Subject: [PATCH] Various fixes. see #204 --- auth/forms.py | 2 +- static/js/history.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/auth/forms.py b/auth/forms.py index 6ec848dfb..6b4e9eba3 100644 --- a/auth/forms.py +++ b/auth/forms.py @@ -1,5 +1,5 @@ from django import forms -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy as _ class LoginForm(forms.Form): username = forms.CharField( diff --git a/static/js/history.js b/static/js/history.js index 403a8f488..bbb6e3816 100644 --- a/static/js/history.js +++ b/static/js/history.js @@ -111,7 +111,6 @@ History.prototype = { }, update: function(force, noupdate) { - /*$(window).trigger("pageRefresh");*/ location.hash = this.serialize(); if (noupdate === undefined) {