clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject svn commit: r906011 - /incubator/clerezza/issues/CLEREZZA-87/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/scripts/login.js
Date Wed, 03 Feb 2010 11:29:50 GMT
Author: ito
Date: Wed Feb  3 11:29:48 2010
New Revision: 906011

URL: http://svn.apache.org/viewvc?rev=906011&view=rev
Log:
CLEREZZA-87: login.js added

Added:
    incubator/clerezza/issues/CLEREZZA-87/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/scripts/login.js

Added: incubator/clerezza/issues/CLEREZZA-87/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/scripts/login.js
URL: http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-87/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/scripts/login.js?rev=906011&view=auto
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-87/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/scripts/login.js
(added)
+++ incubator/clerezza/issues/CLEREZZA-87/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/scripts/login.js
Wed Feb  3 11:29:48 2010
@@ -0,0 +1,5 @@
+$(document).ready(function () {
+	$("#tx-login-button").click(function() {
+		document.location.href = "/login?referer=" + encodeURIComponent(document.location.href);
+	});	
+});
\ No newline at end of file



Mime
View raw message