Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Mobile
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Mobile
Commits
1b7cf9b5
Commit
1b7cf9b5
authored
8 years ago
by
Tom Käsler
Committed by
Andreas Gärtner
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
don't check presence of subject when question is a freetext question
parent
e045b32e
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/webapp/app/view/FreetextQuestion.js
+1
-1
1 addition, 1 deletion
src/main/webapp/app/view/FreetextQuestion.js
with
1 addition
and
1 deletion
src/main/webapp/app/view/FreetextQuestion.js
+
1
−
1
View file @
1b7cf9b5
...
...
@@ -414,7 +414,7 @@ Ext.define('ARSnova.view.FreetextQuestion', {
selectAbstentionAnswer
:
function
()
{},
isEmptyAnswer
:
function
()
{
return
this
.
answerSubject
.
getValue
().
trim
()
===
""
||
(
this
.
answerText
.
getValue
().
trim
()
===
""
&&
this
.
questionObj
.
textAnswerEnabled
)
||
(
!
this
.
answerImage
&&
this
.
questionObj
.
imageQuestion
);
return
(
this
.
questionObj
.
questionType
!==
"
freetext
"
&&
this
.
answerSubject
.
getValue
().
trim
()
===
""
)
||
(
this
.
answerText
.
getValue
().
trim
()
===
""
&&
this
.
questionObj
.
textAnswerEnabled
)
||
(
!
this
.
answerImage
&&
this
.
questionObj
.
imageQuestion
);
},
saveAnswer
:
function
(
answer
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment