missing hoverHelp for section field in editQuestion

This commit is contained in:
Colin Kuskie 2006-06-05 05:10:21 +00:00
parent 6b9b4cb976
commit 17c2351998
3 changed files with 16 additions and 5 deletions

View file

@ -956,7 +956,8 @@ sub www_editQuestion {
-name => "section", -name => "section",
-options=> $sectionList, -options=> $sectionList,
-value => [$question->{Survey_sectionId}], -value => [$question->{Survey_sectionId}],
-label => $i18n->get(106) -label => $i18n->get(106),
-hoverHelp => $i18n->get('106 description'),
); );
if ($self->get("questionOrder") eq "response") { if ($self->get("questionOrder") eq "response") {
@ -1081,7 +1082,7 @@ sub www_editSection {
$section = $self->getCollateral("Survey_section","Survey_sectionId",$self->session->form->process("sid")); $section = $self->getCollateral("Survey_section","Survey_sectionId",$self->session->form->process("sid"));
if ($section->{sectionName} =~ /$none/) { if ($section->{sectionName} =~ /$none/) {
return $self->session->privilege->vitalComponent; return $self->session->privilege->vitalComponent;
} }
$f = WebGUI::HTMLForm->new($self->session,-action=>$self->getUrl); $f = WebGUI::HTMLForm->new($self->session,-action=>$self->getUrl);

View file

@ -129,6 +129,11 @@ our $HELP = {
description => '16 description', description => '16 description',
namespace => 'Asset_Survey', namespace => 'Asset_Survey',
}, },
{
title => '106',
description => '106 description',
namespace => 'Asset_Survey',
},
{ {
title => '21', title => '21',
description => '21 description', description => '21 description',

View file

@ -37,6 +37,11 @@ our $I18N = {
lastUpdated => 1122296097 lastUpdated => 1122296097
}, },
'106 description' => {
message => q|Which section should this question be added to?|,
lastUpdated => 1122296097
},
'107' => { '107' => {
message => q|None|, message => q|None|,
lastUpdated => 1122296097 lastUpdated => 1122296097