Skip to content

Commit

Permalink
Escaped $ in javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Nelson committed Oct 19, 2011
1 parent 8a6185c commit ba982dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/g8/default.properties
@@ -1,7 +1,7 @@
name=lift-mongo-app
description=A Lift-MongoDB app with basic User and DB config.
domain=example.com
scala_version=2.9.0-1
scala_version=2.9.1
lift_version=2.4-SNAPSHOT
sbt_version=0.7.7
sbt_organization=mycompany
Expand Down
10 changes: 5 additions & 5 deletions src/main/g8/src/main/webapp/login.html
Expand Up @@ -7,10 +7,10 @@
timeoutRtn: 0,
monitorPassword: function() {
var self = this;
if (!$("#yes_password").attr("checked")) {
if (!\$("#yes_password").attr("checked")) {
var pwd = $("#id_password").val();
if (pwd.length > 0) {
$("#yes_password").attr("checked", "checked");
\$("#yes_password").attr("checked", "checked");
}
else {
self.startMonitor();
Expand All @@ -22,10 +22,10 @@
self.timeoutRtn = setTimeout("Signin.monitorPassword()", 1000);
}
}
$(document).ready(function() {
\$(document).ready(function() {
Signin.startMonitor();
$("#id_password").keypress(function() {
$("#yes_password").attr("checked", "checked");
\$("#id_password").keypress(function() {
\$("#yes_password").attr("checked", "checked");
});
});
/* ]]> */
Expand Down

0 comments on commit ba982dc

Please sign in to comment.