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:
parent
952c63a6c2
commit
84d8b24cec
2 changed files with 77 additions and 10 deletions
|
|
@ -956,6 +956,7 @@ sub removeType{
|
|||
my $self = shift;
|
||||
my $address = shift;
|
||||
$self->surveyJSON->removeType($address);
|
||||
$self->persistSurveyJSON();
|
||||
return $self->www_loadSurvey( { address => $address } );
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue