From b60385c51d430dfca5e8fbe67b81e228391ac25d Mon Sep 17 00:00:00 2001
From: Ben Adida <ben@adida.net>
Date: Thu, 14 Jul 2011 10:12:10 -0700
Subject: [PATCH] fixed jquery link

---
 .../static/dialog/controllers/dialog_controller.js   | 12 +++++++++++-
 browserid/static/prove.html                          |  4 ++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/browserid/static/dialog/controllers/dialog_controller.js b/browserid/static/dialog/controllers/dialog_controller.js
index 3fb64c541..f77f16ad3 100644
--- a/browserid/static/dialog/controllers/dialog_controller.js
+++ b/browserid/static/dialog/controllers/dialog_controller.js
@@ -15,14 +15,24 @@ $.Controller("Dialog", {}, {
 
     },
       
+<<<<<<< Updated upstream
     // this is not working yet
     "input keyup": function(e){
       if(e.which == 13) {
         $('.submit').click();
         e.preventDefault();
       }
+=======
+    setupEnterKey: function() {
+      $("input").keyup(function(e) {
+          if(e.which == 13) {
+            $('.submit').click();
+            e.preventDefault();
+          }
+        });
+>>>>>>> Stashed changes
     },
-
+      
     "#signin click": function(event) {
       var email = $("#email_input").val();
       var pass = $("#password_input").val();
diff --git a/browserid/static/prove.html b/browserid/static/prove.html
index 16de868b6..2cbd2a94a 100644
--- a/browserid/static/prove.html
+++ b/browserid/static/prove.html
@@ -5,7 +5,7 @@
   <title>BrowserID - My Account</title>
   <link rel="stylesheet" href="css/style.css"  type="text/css">
 </head>
-<body onload="display_saved_ids()">
+<body>
 <div id="splash">
   <div class="topquarter">
     <div>
@@ -37,7 +37,7 @@
   </div>
 </div>
 </body>
-<script src="dialog/jquery-min.js"></script>
+<script src="js/jquery-1.6.2.min.js"></script>
 <script>
 function getParameterByName( name )
 {
-- 
GitLab