fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-04-20 04:51 pm

[dw-free] When expanding "View Answers" on poll, hover box doesn't appear

[commit: http://hg.dwscoalition.org/dw-free/rev/778ac5179253]

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

Make the contextual hover menu available for the list of people who have
answered a question in a poll.

Patch by [personal profile] jportela.

Files modified:
  • htdocs/js/livejournal.js
--------------------------------------------------------------------------------
diff -r 7bfec22ef334 -r 778ac5179253 htdocs/js/livejournal.js
--- a/htdocs/js/livejournal.js	Tue Apr 20 03:21:51 2010 -0700
+++ b/htdocs/js/livejournal.js	Tue Apr 20 09:56:11 2010 -0700
@@ -285,6 +285,9 @@ LiveJournal.pollAnswersReceived = functi
     answerPagEle.innerHTML  = answers.paging_html ? answers.paging_html : "";
     answerEle.innerHTML     = answers.answer_html ? answers.answer_html : "(No answers)";
 
+    if (typeof ContextualPopup != "undefined")
+        ContextualPopup.setup();
+
     LiveJournal.initPolls();
 };
 
--------------------------------------------------------------------------------