fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-05-10 07:18 am

[dw-free] Always show icon thumbnail in hover menu

[commit: http://hg.dwscoalition.org/dw-free/rev/096a30087065]

http://bugs.dwscoalition.org/show_bug.cgi?id=2597

Always show the default icon in the contextual hover menu.

Patch by [personal profile] yvi.

Files modified:
  • htdocs/js/contextualhover.js
--------------------------------------------------------------------------------
diff -r 608a0d60ee6a -r 096a30087065 htdocs/js/contextualhover.js
--- a/htdocs/js/contextualhover.js	Mon May 10 07:11:39 2010 +0000
+++ b/htdocs/js/contextualhover.js	Mon May 10 07:17:46 2010 +0000
@@ -241,7 +241,7 @@ ContextualPopup.renderPopup = function (
         bar.innerHTML = " | ";
 
         // userpic
-        if (data.url_userpic && data.url_userpic != ContextualPopup.elements[ctxPopupId].src) {
+        if (data.url_userpic) {
             var userpicContainer = document.createElement("div");
             var userpicLink = document.createElement("a");
             userpicLink.href = data.url_allpics;
--------------------------------------------------------------------------------
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

[personal profile] pne 2010-05-10 10:59 am (UTC)(link)
Eeeeee!

Thank you, [personal profile] yvi and [personal profile] fu!

<3
yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2010-05-10 12:15 pm (UTC)(link)
:)

One of the faster implementation-times of something from [site community profile] dw_suggestions, I would think. It's only been in Bugzilla for a week.