From e29d35c908113bed814fc061e9cd1aa235188ec6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 13 Jun 2011 15:01:55 +0200 Subject: Provide help for form fields (closes #481) --- static/js/ishtar.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'static/js') diff --git a/static/js/ishtar.js b/static/js/ishtar.js index b7b0403c8..26fbbd950 100644 --- a/static/js/ishtar.js +++ b/static/js/ishtar.js @@ -45,6 +45,12 @@ $("#main_menu ul li").live('click', function(){ $(this).find('ul').show('slow'); }); +/* manage help texts */ +$(".help_display").live("click", function(){ + var help_text_id = $(this).attr("href") + "_help"; + $(help_text_id).toggle(); +}) + var last_window; function load_window(url, speed){ -- cgit v1.2.3