Prevent quiz form from submitting on ENTER in input. Fixes #8293
Prevent quiz form from submitting on ENTER in input. Fixes #8293

 Prevent a quiz from being submitted (usually accidentally) whe the user
 hits their <ENTER> key while in a text input. This change just
 suppresses the submit action on quizzes when used in a text input.

  Test Plan:
 * Create a quiz with single and/or multiple fill-in-the-blank options
 * pressing <ENTER> while in those inputs should not submit the quiz
 * Leaving a question blank and pressing "Submit" should prompt
   to submit when blank.
 * With all questions filled in, clicking the "Submit" button or using
   <ENTER> while on the "Submit" button should submit
   without any warnings.

Change-Id: I6a6e321dfa2d6101c8e49d6af82852b7e41190bc
Reviewed-on: https://gerrit.instructure.com/10581
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Joe Tanner <16a9a54ddf4259952e3c118c763138e83693d7fd@instructure.com>

arrivu/jigsaw-lms,instructure/canvas-lms,parbros/red-innovadores-lms,landonwilkins/canvas-lms,matematikk-mooc/canvas-lms,samuels410/greatlakes-lms,landonwilkins/canvas-lms,icelab/canvas,Rvor/canvas-lms,dgynn/canvas-lms,AndranikMarkosyan/lms,Jyaasa/canvas-lms,merichar/canvas-lms,utkarshx/canvas-lms,samuels410/greatlakes-lms,kyroskoh/canvas-lms,narigone/canvas,gbleydon/canvas-lms,instructure/canvas-lms,greyhwndz/canvas-lms,utkarshx/canvas-lms,matematikk-mooc/canvas-lms,arrivu/jigsaw-lms,matematikk-mooc/canvas-lms,instructure/canvas-lms,Jyaasa/canvas-lms,wye0220/shindig-canvas,va7map/canvas-lms,instructure/canvas-lms,HotChalk/canvas-lms,skmezanul/canvas-lms,jay3126/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,shidao-fm/canvas-lms,wimemx/Canvas,nditech/red-innovadores-lms,arrivu/hoodemo,samuels410/greatlakes-lms,AndranikMarkosyan/lms,narigone/canvas,jay3126/canvas-lms,parbros/red-innovadores-lms,venturehive/canvas-lms,sfu/canvas-lms,rup/Tarrax,ShreniiNepal/shrenii_lmp,gbleydon/canvas-lms,SwinburneOnline/canvas-lms,sdeleon28/canvas-lms,shidao-fm/canvas-lms,ankithbti/canvas_lms,sli7246/canvas_branch,leftplusrightllc/canvas-lms,ShreniiNepal/shrenii_lmp,eCNAP/CANVAS,fronteerio/canvas-lms,Unow/canvas-lms,leftplusrightllc/canvas-lms,arrivu/qibla-ecampus,jay3126/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,narigone/canvas,arrivu/hiring-site,venturehive/canvas-lms,rup/Tarrax,landonwilkins/canvas-lms,efrj/canvas-lms,narigone/canvas,antoniuslin/canvas-lms,efrj/canvas-lms,roxolan/canvas-lms,wrdsb/canvas-lms,nditech/red-innovadores-lms,utkarshx/canvas-lms,snehakachroo1/LSI_replica,arrivu/hiring-site,sfu/canvas-lms,eCNAP/CANVAS,instructure/canvas-lms,Rvor/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,wrdsb/canvas-lms,djbender/canvas-lms,va7map/canvas-lms,leftplusrightllc/canvas-lms,kyroskoh/canvas-lms,antoniuslin/canvas-lms,usmschuck/canvas,jay3126/canvas-lms,SwinburneOnline/canvas-lms,whalejasmine/canvas-lms,juoni/canvas-lms,Rvor/canvas-lms,arrivu/hoodemo,grahamb/canvas-lms,djbender/canvas-lms,tgroshon/canvas-lms,landonwilkins/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,snehakachroo1/LSI_replica,Unow/canvas-lms,merichar/canvas-lms,tgroshon/canvas-lms,sfu/canvas-lms,icelab/canvas,dgynn/canvas-lms,usmschuck/canvas,tgroshon/canvas-lms,utkarshx/canvas-lms,snehakachroo1/LSI_replica,kyroskoh/canvas-lms,icelab/canvas,sli7246/canvas_branch,Rvor/canvas-lms,leftplusrightllc/canvas-lms,wrdsb/canvas-lms,whalejasmine/canvas-lms,eCNAP/CANVAS,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,venturehive/canvas-lms,wye0220/shindig-canvas,SwinburneOnline/canvas-lms,usmschuck/canvas,arrivu/arrivu-lms,antoniuslin/canvas-lms,redconfetti/canvas-lms,efrj/canvas-lms,djbender/canvas-lms,HotChalk/canvas-lms,loganrun/pincan,sdeleon28/canvas-lms,HotChalk/canvas-lms,snehakachroo1/LSI_replica,skmezanul/canvas-lms,wimemx/Canvas,parbros/red-innovadores-lms,fronteerio/canvas-lms,arrivu/hoodemo,whalejasmine/canvas-lms,AndranikMarkosyan/lms,arrivu/arrivu-lms,instructure/canvas-lms,ankithbti/canvas_lms,greyhwndz/canvas-lms,sli7246/canvas_branch,grahamb/canvas-lms,rup/Tarrax,samuels410/greatlakes-lms,juoni/canvas-lms,skmezanul/canvas-lms,roxolan/canvas-lms,greyhwndz/canvas-lms,eCNAP/CANVAS,loganrun/pincan,loganrun/pincan,wimemx/Canvas,juoni/canvas-lms,sdeleon28/canvas-lms,nditech/red-innovadores-lms,ShreniiNepal/shrenii_lmp,Unow/ins,Unow/ins,Unow/canvas-lms,efrj/canvas-lms,skmezanul/canvas-lms,arrivu/arrivu-lms,venturehive/canvas-lms,arrivu/hiring-site,sdeleon28/canvas-lms,redconfetti/canvas-lms,roxolan/canvas-lms,roxolan/canvas-lms,djbender/canvas-lms,va7map/canvas-lms,antoniuslin/canvas-lms,wye0220/shindig-canvas,Unow/ins,redconfetti/canvas-lms,AndranikMarkosyan/lms,arrivu/qibla-ecampus,va7map/canvas-lms,shidao-fm/canvas-lms,merichar/canvas-lms,instructure/canvas-lms,dgynn/canvas-lms,greyhwndz/canvas-lms,sfu/canvas-lms,shidao-fm/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,arrivu/qibla-ecampus,whalejasmine/canvas-lms,dgynn/canvas-lms,arrivu/jigsaw-lms,nditech/red-innovadores-lms,ankithbti/canvas_lms,fronteerio/canvas-lms,usmschuck/canvas,gbleydon/canvas-lms,grahamb/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,ShreniiNepal/shrenii_lmp,kyroskoh/canvas-lms,tgroshon/canvas-lms