# HG changeset patch # User Mario Ferraro # Date 1241824443 -7200 # Node ID b9fd1e20d41302b68642fdafd477770edd0b402d # Parent b0e67a2eafff29cdd1c7005896e76f6713e1dda9 Fixed Issue 627 where multiple Purr boxes would show when using calendar widget. diff -r b0e67a2eafff -r b9fd1e20d413 app/soc/templates/soc/templatetags/_as_table_row.html --- a/app/soc/templates/soc/templatetags/_as_table_row.html Fri May 08 14:58:19 2009 +0200 +++ b/app/soc/templates/soc/templatetags/_as_table_row.html Sat May 09 01:14:03 2009 +0200 @@ -57,11 +57,14 @@ var tooltip = "

Info

{{ help_text }}

"; var tooltip_object=null; $("#{{ field_id }}").focus(function() { - tooltip_object = $(tooltip).purr({usingTransparentPNG: true}); + if (tooltip_object==null) { + tooltip_object = $(tooltip).purr({usingTransparentPNG: true}); + } }); $("#{{ field_id }}").blur(function() { if (tooltip_object!==null) { tooltip_object.remove(); + tooltip_object=null; } }); });