Add missing POD to SurveyJSON

Also fix a bug I noticed while updating POD - when removing a
multiple-choice bundle the question should have its questionType
set to the generic "Multiple Choice' question type rather than
leaving it set to the now-deleted bundle questionType.
This commit is contained in:
Patrick Donelan 2009-07-12 03:28:54 +00:00
parent 952c63a6c2
commit 84d8b24cec
2 changed files with 77 additions and 10 deletions

View file

@ -956,6 +956,7 @@ sub removeType{
my $self = shift;
my $address = shift;
$self->surveyJSON->removeType($address);
$self->persistSurveyJSON();
return $self->www_loadSurvey( { address => $address } );
}