Sha256: 979945c721e6272a674bdb819449f5eeac50b75eb72704e8415ffc98c5c78d08

Contents?: true

Size: 134 Bytes

Versions: 73

Compression:

Stored size: 134 Bytes

Contents

$(document).ready ->
  $("input[type='text']").keydown (event) ->
    if event.keyCode is 13
      event.preventDefault()
      false

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
fullstack-admin-0.2.26 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.25 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.24 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.23 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.22 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.21 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.20 app/assets/javascripts/fullstack/admin/src/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.19 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.18 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.17 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.16 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.15 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.14 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.13 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.12 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.11 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.9 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.8 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.7 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.6 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee