Sha256: bc7ed9f485832e10293df8eb2f100f9fd51c558d62b85b52f94ed90df7852ef7

Contents?: true

Size: 169 Bytes

Versions: 6

Compression:

Stored size: 169 Bytes

Contents

$.fn.editable.defaults.error = (response, newValue) ->
  field_name = $(this).data("name")
  error_msgs = response.responseJSON.errors[field_name]
  error_msgs.join "; "

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
x-editable-rails-bs4-1.5.5.2 vendor/assets/javascripts/editable/rails/error_handling.js.coffee
x-editable-rails-1.5.5.1 vendor/assets/javascripts/editable/rails/error_handling.js.coffee
x-editable-rails-1.5.5 vendor/assets/javascripts/editable/rails/error_handling.js.coffee
x-editable-rails-1.5.4 vendor/assets/javascripts/editable/rails/error_handling.js.coffee
x-editable-rails-1.5.3 vendor/assets/javascripts/editable/rails/error_handling.js.coffee
x-editable-rails-1.5.2 vendor/assets/javascripts/editable/rails/error_handling.js.coffee