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.5 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.4 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.3 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.2 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.2.1 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.56 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.55 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.54 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.53 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.52 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.51 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.50 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.49 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.48 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.47 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.46 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.45 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.44 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.43 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee
fullstack-admin-0.1.42 vendor/assets/javascripts/prevent_submit_on_enter.js.coffee