summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-02 07:56:18 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-02 07:56:18 +0000
commited80980bfe10c79b8a9356bc644ac5ae2f1b6dfc (patch)
treeeb9fb6b47bd778e5ecf06e44c5a604846e64b371 /drakwizard.pl
parentae52dc730320047a7c9046e8366d9d3d6ec56606 (diff)
downloaddrakwizard-ed80980bfe10c79b8a9356bc644ac5ae2f1b6dfc.tar
drakwizard-ed80980bfe10c79b8a9356bc644ac5ae2f1b6dfc.tar.gz
drakwizard-ed80980bfe10c79b8a9356bc644ac5ae2f1b6dfc.tar.bz2
drakwizard-ed80980bfe10c79b8a9356bc644ac5ae2f1b6dfc.tar.xz
drakwizard-ed80980bfe10c79b8a9356bc644ac5ae2f1b6dfc.zip
navigation bug fix
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl16
1 files changed, 8 insertions, 8 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index 57ca28a5..09c31065 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -103,9 +103,9 @@ sub display {
my $valeur;
my @liste;
my @data = map {
- #for ($_->{fillScript}) {
- # system("source $lib_script ; $_->{fillScript}");
- # }
+ for ($_->{fillScript}) {
+ system("source $lib_script ; $_->{fillScript}");
+ }
if($_->{main_order} eq 'combo'){
if($_->{fillScript}){
$valeur = `$_->{fillScript}`;
@@ -154,18 +154,18 @@ sub navigation {
find_page($o, $page->{jumpPage}), $page->{old_page};
}
}
- elsif ($page->{jumpScript}) {
+ elsif($page->{jumpScript}) {
system("source $lib_script ; $page->{jumpScript}");
if ($page->{Target}->{jumpIndex}) {
$? = $? >> 8;
find_page($o, $page->{Target}->{jumpIndex}->{$?}), $page;
- }
- elsif ($page->{jumpPage}) {
- find_page($o, $page->{jumpPage}), $page->{old_page};
+ }
+ else {
+ $page->{next_page}, $page->{old_page};
}
}
else {
- $page->{next_page}, $page->{old_page};
+ $page->{next_page}, $page;
}
};
navigation($o, $next, $prev);