Module: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods
- Defined in:
- lib/unobtrusive_date_picker.rb
Instance Method Summary collapse
- #unobtrusive_date_picker_cleanup(id = nil) ⇒ Object
- #unobtrusive_date_picker_create(id = nil) ⇒ Object
Instance Method Details
#unobtrusive_date_picker_cleanup(id = nil) ⇒ Object
383 384 385 |
# File 'lib/unobtrusive_date_picker.rb', line 383 def unobtrusive_date_picker_cleanup(id = nil) record "datePickerController.cleanUp" end |
#unobtrusive_date_picker_create(id = nil) ⇒ Object
375 376 377 378 379 380 381 |
# File 'lib/unobtrusive_date_picker.rb', line 375 def unobtrusive_date_picker_create(id = nil) if id call "datePickerController.create", "$(#{id})" else record "datePickerController.create" end end |