From ba982dcbcb35fb30365a9b1aeed62a0c3f9e968b Mon Sep 17 00:00:00 2001 From: Tim Nelson Date: Wed, 19 Oct 2011 15:18:58 -0500 Subject: [PATCH] Escaped $ in javascript --- src/main/g8/default.properties | 2 +- src/main/g8/src/main/webapp/login.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/g8/default.properties b/src/main/g8/default.properties index 2e5ce87..5f73a21 100644 --- a/src/main/g8/default.properties +++ b/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 diff --git a/src/main/g8/src/main/webapp/login.html b/src/main/g8/src/main/webapp/login.html index 3dac943..8c2f4f4 100644 --- a/src/main/g8/src/main/webapp/login.html +++ b/src/main/g8/src/main/webapp/login.html @@ -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(); @@ -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"); }); }); /* ]]> */