From 5e39a7ab72db9320ce1e38403ebb87d6a48c41f9 Mon Sep 17 00:00:00 2001 From: javiexin Date: Fri, 19 Jun 2015 11:33:37 +0200 Subject: [ticket/13748] Wrong tooltip after poll vote change Store the "voted" tooltip in an extra attribute in HTML, and use it with the JS that refreshes after poll vote. PHPBB3-13748 --- phpBB/styles/prosilver/template/viewtopic_body.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/styles/prosilver/template/viewtopic_body.html') diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 5b8078877e..5289d6a604 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -80,7 +80,7 @@
-
title="{L_POLL_VOTED_OPTION}" data-poll-option-id="{poll_option.POLL_OPTION_ID}"> +
title="{L_POLL_VOTED_OPTION}" data-alt-text="{LA_POLL_VOTED_OPTION}" data-poll-option-id="{poll_option.POLL_OPTION_ID}">
{poll_option.POLL_OPTION_CAPTION}
checked="checked" /> checked="checked" />
{poll_option.POLL_OPTION_RESULT}
-- cgit v1.2.1 From 51bb51124a54f46ebdc8cc00795b887708a48d40 Mon Sep 17 00:00:00 2001 From: javiexin Date: Mon, 6 Jul 2015 11:39:28 +0200 Subject: [ticket/13748] Wrong tooltip after poll vote change Store the "voted" tooltip in an extra attribute in HTML, and use it with the JS that refreshes after poll vote. Use L_ language string instead of LA_ language string. PHPBB3-13748 --- phpBB/styles/prosilver/template/viewtopic_body.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/styles/prosilver/template/viewtopic_body.html') diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 5289d6a604..dc5e3731eb 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -80,7 +80,7 @@
-
title="{L_POLL_VOTED_OPTION}" data-alt-text="{LA_POLL_VOTED_OPTION}" data-poll-option-id="{poll_option.POLL_OPTION_ID}"> +
title="{L_POLL_VOTED_OPTION}" data-alt-text="{L_POLL_VOTED_OPTION}" data-poll-option-id="{poll_option.POLL_OPTION_ID}">
{poll_option.POLL_OPTION_CAPTION}
checked="checked" /> checked="checked" />
{poll_option.POLL_OPTION_RESULT}
-- cgit v1.2.1