# HG changeset patch # User Mario Ferraro # Date 1247127389 -7200 # Node ID e319fd52cbc4ef0435585436b6b60c95997cb127 # Parent 402e4a979e770bafacbcd4885150d46bacbe68f3 Extended tooltip timeout to 10 seconds for all fields. This is because the tooltip currently timesout to fast for people to read the whole stories they can contain. Especially because Surveys can have custom tooltips. Reviewed by: Lennard de Rijk diff -r 402e4a979e77 -r e319fd52cbc4 app/soc/templates/soc/survey/edit.html --- a/app/soc/templates/soc/survey/edit.html Wed Jul 08 15:45:53 2009 +0200 +++ b/app/soc/templates/soc/survey/edit.html Thu Jul 09 10:16:29 2009 +0200 @@ -78,7 +78,7 @@ var tooltip_object=null; $('#{{ type_id }}').hover(function() { if (tooltip_object==null) { - tooltip_object = $(tooltip).purr({usingTransparentPNG: true}); + tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); } }, function() { diff -r 402e4a979e77 -r e319fd52cbc4 app/soc/templates/soc/templatetags/_as_table_row.html --- a/app/soc/templates/soc/templatetags/_as_table_row.html Wed Jul 08 15:45:53 2009 +0200 +++ b/app/soc/templates/soc/templatetags/_as_table_row.html Thu Jul 09 10:16:29 2009 +0200 @@ -61,7 +61,7 @@ if (not_fieldset) { documented.focus(function() { if (tooltip_object==null) { - tooltip_object = $(tooltip).purr({usingTransparentPNG: true}); + tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); } }); documented.blur(function() { @@ -74,7 +74,7 @@ else { documented.find("input").hover(function() { if (tooltip_object==null) { - tooltip_object = $(tooltip).purr({usingTransparentPNG: true}); + tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); } }, function() {