summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/http.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-13 18:28:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-13 18:28:57 +0000
commitaa19bdfd007143ebe13a762072ab12302b8f3a74 (patch)
treee2808c92df88cc205c76f6cb87768bf32152a07c /perl-install/interactive/http.pm
parentddec320c9813c04b3e6a6213654a3ff84db89431 (diff)
downloaddrakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar.gz
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar.bz2
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar.xz
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.zip
- handle setting 'ok' && 'cancel'
- handle isWizard in newt (basic handling)
Diffstat (limited to 'perl-install/interactive/http.pm')
-rw-r--r--perl-install/interactive/http.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/http.pm b/perl-install/interactive/http.pm
index 785446c46..42e116380 100644
--- a/perl-install/interactive/http.pm
+++ b/perl-install/interactive/http.pm
@@ -102,7 +102,7 @@ sub ask_fromW {
print "</table>\n";
print $q->p();
print $q->submit(-name => 'ok_submit', -value => $common->{ok} || _("Ok"));
- print $q->submit(-name => 'cancel_submit', -value => $common->{cancel}) if $common->{cancel};
+ print $q->submit(-name => 'cancel_submit', -value => $common->{cancel} || _("Cancel")) if $common->{cancel} || !exists $common->{ok};
print $q->hidden('state'), $q->hidden('uid');
print $q->end_form, $q->end_html;