From 13c10980956c7e40b45c70d19b1d73338cd3682f Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 13 Apr 2011 19:58:35 +0200 Subject: Ticket #204 - Starten bei doppelklick sollte klappen --- application/modules/fbgui/views/scripts/index/index.phtml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'application/modules/fbgui/views') diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml index dbb221d..9c45903 100644 --- a/application/modules/fbgui/views/scripts/index/index.phtml +++ b/application/modules/fbgui/views/scripts/index/index.phtml @@ -7,8 +7,15 @@ $("#selectedBootOs").val($(this).find('.id').val()); $("#startball").attr('src','/media/img/button-green.png'); }); + $('.menu').dblclick(function(){ + $('.menu').removeClass('selected'); + $(this).addClass('selected'); + $("#selectedBootOs").val($(this).find('.id').val()); + $("#startball").attr('src','/media/img/button-green.png'); + start(); + }); }); - function start(){ + function start(){ if($('#selectedBootOs').val() != ''){ window.location='/fbgui/index/start/bme/'+$('#selectedBootOs').val(); } -- cgit v1.2.3-55-g7522