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.54 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.53 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.52 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.51 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.50 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.49 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.48 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.47 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.46 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.45 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.44 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.43 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.42 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.41 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.40 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.39 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.38 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.37 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.36 app/assets/javascripts/support/pickers.js.coffee
fullstack-admin-0.1.35 app/assets/javascripts/support/pickers.js.coffee