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
--- 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() {
--- 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() {