Merge pull request #263 from edx/renzo/segment-io-whitelist-expansion

Add handful of events to the Segment.io whitelist
This commit is contained in:
Renzo Lucioni
2013-06-26 10:41:11 -07:00
3 changed files with 16 additions and 6 deletions

View File

@@ -138,7 +138,8 @@ class @Problem
# maybe preferable to consolidate all dispatches to use FormData
###
check_fd: =>
Logger.log 'problem_check', @answers
# Calling check from check_fd will result in firing the 'problem_check' event twice, since it is also called in the check function.
#Logger.log 'problem_check', @answers
# If there are no file inputs in the problem, we can fall back on @check
if $('input:file').length == 0