From 975dd38482945e10cf0ea2f020856653298d5c28 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 2 Jul 2013 11:48:27 +0800 Subject: Bug 888806: Bugzilla login field should use "placeholder" HTML5 attribute instead of JavaScript --- .../en/default/account/auth/login-small.html.tmpl | 40 ++-------------------- template/en/default/index.html.tmpl | 39 +++------------------ 2 files changed, 7 insertions(+), 72 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 216c4ed8a..220eb5f21 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -52,9 +52,9 @@ class="bz_login" name="Bugzilla_login" title="Login" - onfocus="mini_login_on_focus('[% qs_suffix FILTER js %]')" + placeholder="email address" > - [% IF Param('rememberlogin') == 'defaulton' || Param('rememberlogin') == 'defaultoff' @@ -75,41 +74,6 @@ [% END %] - [x] diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 29bc9adb6..fa2a4d126 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -38,40 +38,13 @@ [% IF release %] @@ -144,10 +117,8 @@ YAHOO.util.Event.onDOMReady(onLoadActions); onsubmit="return checkQuicksearch(this);">
+ placeholder="Enter [% terms.abug %] number or some search terms" + title="Quick Search">