Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Vroom CPAN distribution.

Report information
The Basics
Id: 79186
Status: new
Priority: 0/
Queue: Vroom

People
Owner: Nobody in particular
Requestors: hasch-cpan [...] cozap.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.27
Fixed in: (no value)



Subject: [PATCH] HTML presentation does not start from index in some situations
If there are less than 10 slides, or if the first slide has a fancy file type, the HTML presentation will not jump from the index page to the first slide when you hit the space key. That's because the URL of the first slide is hard-wired into the index page. Here is a small patch fixing this. -Martin
Subject: vroom-html.patch
--- Vroom-0.27.orig/lib/Vroom.pm 2012-07-17 18:42:24.000000000 +0200 +++ Vroom-0.27/lib/Vroom.pm 2012-08-24 12:04:43.000000000 +0200 @@ -268,6 +268,7 @@ sub makeHTML { { config => $self->config, index => $index, + start => $index->[0]->[0], } ) ); @@ -286,7 +287,7 @@ function navigate(e) { ? e.keyCode : e.which; if (keynum == 13 || keynum == 32) { - window.location = "001.html"; + window.location = "[% start %].html"; return false; } return true;