From 8ca507eab207e3ffceb66ac5861e18c6ca63a605 Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Tue, 27 Sep 2011 21:37:19 +0100
Subject: [PATCH] Getting rid of the footer code, it is no longer used.

---
 .../static/dialog/controllers/page_controller.js   | 14 +++-----------
 browserid/static/dialog/views/body.ejs             |  3 ---
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/browserid/static/dialog/controllers/page_controller.js b/browserid/static/dialog/controllers/page_controller.js
index 1671bbce8..8aeae566b 100644
--- a/browserid/static/dialog/controllers/page_controller.js
+++ b/browserid/static/dialog/controllers/page_controller.js
@@ -45,12 +45,10 @@
     init: function(options) {
       var me=this,
           bodyTemplate = options.bodyTemplate,
-          bodyVars = options.bodyVars,
-          footerTemplate = options.footerTemplate,
-          footerVars = options.footerVars;
+          bodyVars = options.bodyVars;
 
 
-      me.renderTemplates(bodyTemplate, bodyVars, footerTemplate, footerVars);
+      me.renderTemplates(bodyTemplate, bodyVars);
 
       // XXX move all of these, bleck.
       $("form").bind("submit", me.onSubmit.bind(me));
@@ -71,7 +69,7 @@
       this._super();
     },
 
-    renderTemplates: function(body, body_vars, footer, footer_vars) {
+    renderTemplates: function(body, body_vars) {
       $("body").removeClass("waiting");
 
       if (body) {
@@ -80,12 +78,6 @@
           $("#dialog input").eq(0).focus(); 
         });
       }
-
-      var footerHtml = '';
-      if (footer) {
-        footerHtml = $.View("//dialog/views/" + footer, footer_vars);
-      }
-      $("#bottom-bar").html(footerHtml);
     },
 
     onSubmit: function(event) {
diff --git a/browserid/static/dialog/views/body.ejs b/browserid/static/dialog/views/body.ejs
index 591dc38af..712042b88 100644
--- a/browserid/static/dialog/views/body.ejs
+++ b/browserid/static/dialog/views/body.ejs
@@ -20,9 +20,6 @@
     </form>
   </div>
 
-  <div id="bottom-bar">
-  </div>
-
   <footer>
         <ul class="cf">
             <li>By <a href="http://mozillalabs.com">Mozilla Labs</a></li>
-- 
GitLab