canvas-lms/spec/coffeescripts/jquery
Sterling Cobb 5247903f94 fix issue pressing enter to submit form
fixes CNVS-21292

Button type wasn't set on a form button which was causing issues

Test Plan
Given I'm a user that can create modules(chrome, safari, firefox)
And I'm on the modules page
When I click "Add Module"
And fill in a module name
And press enter
Then the form should submit
And the dialog should close
And the new module should appear on the page

Change-Id: I7149fc956dc8ef787b2026fbda89e2663757cfdb
Reviewed-on: https://gerrit.instructure.com/56826
Tested-by: Jenkins
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Sterling Cobb <sterling@instructure.com>
2015-06-24 16:51:51 +00:00
..
ModuleSequenceFooterSpec.coffee spec: use the default sinon sandbox, no need for a separate one 2015-06-17 15:42:36 +00:00
ajaxJSONSpec.coffee spec: audit uses of sinon.spy, replacing with @spy 2015-06-17 15:49:18 +00:00
fixDialogButtonsSpec.coffee fix issue pressing enter to submit form 2015-06-24 16:51:51 +00:00
mediaCommentSpec.coffee fix media playing in safari 2015-05-20 22:07:06 +00:00
mediaCommentThumbnailSpec.coffee spec: audit uses of sinon.stub, replacing with @stub 2015-06-16 22:35:46 +00:00
outerclickSpec.coffee spec: audit uses of sinon.spy, replacing with @spy 2015-06-17 15:49:18 +00:00
redirectClickToSpec.coffee spec: audit uses of sinon.spy, replacing with @spy 2015-06-17 15:49:18 +00:00
serializeFormSpec.coffee clean up $.serializeForm and make it Just Work™, fixes CNVS-7407 2013-08-15 19:48:18 +00:00