diff options
Diffstat (limited to 'application/modules/fbgui/views')
-rw-r--r-- | application/modules/fbgui/views/scripts/index/index.phtml | 9 |
1 files changed, 8 insertions, 1 deletions
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(); } |