diff options
author | Fateh Sandhu <fatehsandhu@gmail.com> | 2018-01-02 01:37:23 +0100 |
---|---|---|
committer | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-01-02 01:37:23 +0100 |
commit | 37bac7ea1661464624b21f24940cbad625ef056b (patch) | |
tree | 7d1ac0308fdc62ddab5a7a948bc488472593aaeb /extensions/Persona/template/en/default | |
parent | e83fa315f72b97c5504e85236623df1f14dddc94 (diff) | |
download | bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.gz bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.xz |
Bug 1426507 - Upgrade BMO to HTML5
Diffstat (limited to 'extensions/Persona/template/en/default')
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl b/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl index 17a86a71d..364d1528f 100644 --- a/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl +++ b/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl @@ -1,6 +1,6 @@ [% IF Param('user_info_class').split(',').contains('Persona') && Param('persona_includejs_url') %] -<script [% script_nonce FILTER none %] type="text/javascript"> +<script [% script_nonce FILTER none %]> YAHOO.util.Event.addListener('login_link[% qs_suffix FILTER js %]','click', function () { var login_link = YAHOO.util.Dom.get('persona_mini_login[% qs_suffix FILTER js %]'); YAHOO.util.Dom.removeClass(login_link, 'bz_default_hidden'); diff --git a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl index 12282df16..f60bd36db 100644 --- a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl +++ b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl @@ -17,8 +17,8 @@ [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] -<script [% script_nonce FILTER none %] defer src="[% Param('persona_includejs_url') %]" type="text/javascript"></script> -<script [% script_nonce FILTER none %] type="text/javascript"> +<script [% script_nonce FILTER none %] defer src="[% Param('persona_includejs_url') %]"></script> +<script [% script_nonce FILTER none %]> function createHidden(name, value, form) { var field = document.createElement('input'); |