From 0f3e6ca67665b274156d87ff80472346203e5bdd Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 1 Apr 2014 17:58:56 -0700 Subject: [ticket/12342] Use prop() instead of attr() for boolean properties PHPBB3-12342 --- phpBB/styles/prosilver/template/ajax.js | 2 +- phpBB/styles/prosilver/template/ucp_notifications.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/styles/prosilver') diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index 1d70adc48d..43f6dee9a5 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -373,7 +373,7 @@ $('#quick-mod-select').change(function () { }); $('#delete_permanent').click(function () { - if ($(this).attr('checked')) { + if ($(this).prop('checked')) { $('#delete_reason').hide(); } else { $('#delete_reason').show(); diff --git a/phpBB/styles/prosilver/template/ucp_notifications.html b/phpBB/styles/prosilver/template/ucp_notifications.html index 6a711cfd30..2712e53034 100644 --- a/phpBB/styles/prosilver/template/ucp_notifications.html +++ b/phpBB/styles/prosilver/template/ucp_notifications.html @@ -115,7 +115,7 @@ {S_HIDDEN_FIELDS} -
{L_MARK_ALL}{L_UNMARK_ALL}
+
{L_MARK_ALL}{L_UNMARK_ALL}
{S_FORM_TOKEN} -- cgit v1.2.1 From 18645aa0693e2ba61cd29dc252afbf5cd446ee67 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 1 Apr 2014 18:00:17 -0700 Subject: [ticket/12342] Fix Find a member show / hide script PHPBB3-12342 --- phpBB/styles/prosilver/template/ajax.js | 2 +- phpBB/styles/prosilver/template/memberlist_body.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/styles/prosilver') diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index 43f6dee9a5..0d7e0a8ba8 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -389,7 +389,7 @@ $('#delete_permanent').click(function () { */ $('#member_search').click(function () { $('#memberlist_search').slideToggle('fast'); - phpbb.ajax_callbacks.alt_text.call(this); + phpbb.alt_text; // Focus on the username textbox if it's available and displayed if ($('#memberlist_search').is(':visible')) { $('#username').focus(); diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html index 7ba289cfd6..1ee4ed6e9c 100644 --- a/phpBB/styles/prosilver/template/memberlist_body.html +++ b/phpBB/styles/prosilver/template/memberlist_body.html @@ -30,7 +30,7 @@