edwinmoss / recordselect forked from cainlevy/recordselect

Replaces <select> tags with a full-HTML, RESTful JavaScript record browser (Rails plugin)

Edwin Moss (author)
Thu Jun 25 11:49:40 -0700 2009
commit  9531eabe018336dee8ed67ffc6dfa3bb3dae287c
tree    cac4ff53db75ea5d36235da30e3ef1e7e3df9b9b
parent  290693a434e96b1577c95a9b71e2ebfdbfc62712 parent  13ca8777f802d4c463d0e415443bbfe8b72abb11
recordselect / CHANGELOG
100644 26 lines (22 sloc) 1.404 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
1.0
* record_select_field always searches on the latest string
* R.S. dialog closes on mousedown instead of click (because sometimes clicks are intercepted)
* R.S. layers over <select> boxes in IE 6
* record_select_field now opens R.S. even when the field loads with focus
* new :onchange option for record_select_field, to observe selection events
 
1.0rc1
* helpers complain if the controller they're configured for doesn't use recordselect
* when using keyboard navigation, hitting "enter" to select a record no longer submits the form
* if text field is empty when dialog is closed, then recordselect will empty the hidden field as well (lets you deselect)
* support for multiple selections (record_multi_select_helper)
* param-based search conditions are smarter - can search numeric fields as well
* using record_select_conditions_from_controller instead of conditions_for_collection. also added a new record_select_includes override method.
* helpers now accept a :class option
* fixed bug with url escaping when helpers were configured with multiple parameters
* new :label configuration option. it's a proc - the default one calls record.to_label (for backwards compatibility).
* cleaned up merge_conditions to use activerecord's sanitize_sql.
* div.record-select-container now has a high z-index so it will by default be visible above other absolutely positioned elements.
 
0.9
stuff
 
0.1
stuff