diff --git a/browserid/static/dialog/controllers/page_controller.js b/browserid/static/dialog/controllers/page_controller.js index 1671bbce826cbc263822760e340440b2e3ea28ba..8aeae566b4bff3904be2ae69cca95d3c42dd4a05 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 591dc38af1dbfb1a4275c4dead4bf67a60b5ee8b..712042b88dc6f519ef5194a6e1c63dc03a00e88b 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>