Moved Survey's "Max Resposes" option beck to Properties tab

Content Managers shouldn't need Security tab acccess to set this property
This commit is contained in:
Patrick Donelan 2009-10-17 13:41:54 +11:00
parent f4f30cc4fe
commit 3da08fcc48

View file

@ -60,6 +60,13 @@ sub definition {
label => $i18n->get('Survey Exit URL'),
hoverHelp => $i18n->get('Survey Exit URL help'),
},
maxResponsesPerUser => {
fieldType => 'integer',
tab => 'properties',
defaultValue => 1,
label => $i18n->get('Max user responses'),
hoverHelp => $i18n->get('Max user responses help'),
},
timeLimit => {
fieldType => 'integer',
defaultValue => 0,
@ -236,13 +243,6 @@ sub definition {
label => $i18n->get('Group to view reports'),
hoverHelp => $i18n->get('Group to view reports help'),
},
maxResponsesPerUser => {
fieldType => 'integer',
tab => 'security',
defaultValue => 1,
label => $i18n->get('Max user responses'),
hoverHelp => $i18n->get('Max user responses help'),
},
# Other
surveyJSON => {