[Python-modules-commits] [django-session-security] 05/09: Compare to undefined
Jean-Michel Vourgère
nirgal at moszumanska.debian.org
Sun Jan 17 04:55:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
nirgal pushed a commit to tag 2.3.1
in repository django-session-security.
commit 7f2d5a9082143b3d2afc793e362482709422814f
Author: Andrei Coman <andrei.coman at 3pillarglobal.com>
Date: Thu Dec 31 13:44:11 2015 +0200
Compare to undefined
---
session_security/static/session_security/script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/session_security/static/session_security/script.js b/session_security/static/session_security/script.js
index bee4ec4..489f6fc 100644
--- a/session_security/static/session_security/script.js
+++ b/session_security/static/session_security/script.js
@@ -50,7 +50,7 @@ yourlabs.SessionSecurity.prototype = {
// seconds.
expire: function() {
this.expired = true;
- if (this.returnToUrl) {
+ if (this.returnToUrl !== undefined) {
window.location.href = this.returnToUrl;
}
else {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-session-security.git
More information about the Python-modules-commits
mailing list