Sha256: 99dd9b8fd500c5d501a5010594e64615a0e01d5ad53956bf767e6662800d971b

Contents?: true

Size: 388 Bytes

Versions: 66

Compression:

Stored size: 388 Bytes

Contents

$(document).ready ->
  $("input.pick_one").each ->
    input = $ @
    display = $ "<div class=\"display\" />"
    input.after(display)
    
    resource   = input.data("resource")
    controller = input.data("controller")
    renderer   = [controller, "display"].join("/")
    picker     = [controller, "pick"].join("/")

    current_id = input.val
    if current_id
      display.load()

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
fullstack-admin-0.1.10 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.8 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.7 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.5 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.3 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.1 app/assets/javascripts/support/pickers.js.coffee