removing trace
This commit is contained in:
parent
f275024f67
commit
91b49f96b0
2 changed files with 20 additions and 1 deletions
|
|
@ -296,7 +296,6 @@ will be used to instantiate the SurveyJSON instance rather than querying the dat
|
||||||
|
|
||||||
sub surveyJSON {
|
sub surveyJSON {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->session->errorHandler->error("surveyJSON was calle, wtf");
|
|
||||||
my ($json) = validate_pos(@_, { type => SCALAR, optional => 1 });
|
my ($json) = validate_pos(@_, { type => SCALAR, optional => 1 });
|
||||||
|
|
||||||
if (!$self->{_surveyJSON} || $json) {
|
if (!$self->{_surveyJSON} || $json) {
|
||||||
|
|
|
||||||
20
lib/WebGUI/Asset/Wobject/Survey/SurveyQuestionBundles.pm
Normal file
20
lib/WebGUI/Asset/Wobject/Survey/SurveyQuestionBundles.pm
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
package WebGUI::Asset::Wobject::Survey::SurveyQuestionBundles;
|
||||||
|
|
||||||
|
use base WebGUI::Crud;
|
||||||
|
|
||||||
|
sub crud_definition {
|
||||||
|
my ( $class, $session ) = @_;
|
||||||
|
my $definition = $class->SUPER::crud_definition($session);
|
||||||
|
$definition->{tableName} = 'Survey_questionBundles';
|
||||||
|
$definition->{tableKey} = 'assetId';
|
||||||
|
$definition->{properties}{} = {
|
||||||
|
fieldType => 'text',
|
||||||
|
defaultValue => undef,
|
||||||
|
};
|
||||||
|
$definition->{properties}{} = {
|
||||||
|
fieldType => 'text',
|
||||||
|
defaultValue => undef,
|
||||||
|
};
|
||||||
|
return $definition;
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue