forked from brian-lc/surveyor
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bugfix for :pick => :any questions
* if the last checkbox was deselected, the corresponding responses weren't removed * conditions (dependencies) depending on the corresponding question weren't fulfilled
- Loading branch information
Mathias Kutzner
committed
Jun 10, 2011
1 parent
0244408
commit 1acfd75
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1acfd75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One Issue that I'm experiencing with this commit is if I already have items checked off and I go back to the survey and add an additional item, all of the previous items are removed. Only the new items are saved. Also, whenever I check off a few items that I'm changing, I get an error (404) when going to the next tab. It looks like this could be a mapping issue on my end.
1acfd75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What it looks like it's doing on your line 73 is deleting everything. But existing items that were not unchecked are also being deleted. Any idea how to keep those?
1acfd75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, but the question ids that are deleted are the ones that came over the wire. That shoud really mean that we have new answers for these questions. ok, but i'm not 100% sure, we'll investigate and try to find a fix for this ...
1acfd75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be fixed by ewto@1947036
1acfd75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. The pick any is finally working the way it should be. Thanks so much!