Sha256: 353517cdf5ffd130981640b081735226fbe95acc4bbfd921a77f9dafadcf4db3

Contents?: true

Size: 240 Bytes

Versions: 83

Compression:

Stored size: 240 Bytes

Contents

window.search_predicate = (select) -> 
  target = $($(select).data('target'))
  er = /\_(eq|not\_eq|cont|not\_cont|start|end|lt|lteq|gt|gteq)/
  new_name = target.attr("name").replace(er,"_" + $(select).val())
  target.attr("name",new_name)

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
templus_models-3.0.21 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.20 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.19 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.17 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.16 app/assets/javascripts/templus_models.js.coffee
templus_models-1.6.9 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.15 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.14 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.14 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.12 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.13 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.12 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.11 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.9 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.8 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.10 app/assets/javascripts/templus_models.js.coffee
templus_models-1.6.8 app/assets/javascripts/templus_models.js.coffee
templus_models-1.6.7 app/assets/javascripts/templus_models.js.coffee
templus_models-3.0.9 app/assets/javascripts/templus_models.js.coffee
templus_models-2.0.7 app/assets/javascripts/templus_models.js.coffee