public
Description: A Rails plugin to make it easy to use YUI on Rails instead of (or along with, I suppose) Prototype and scriptaculous
Clone URL: git://github.com/rubaidh/yui_on_rails.git
Update to work with edge Rails.
mathie (author)
Fri Aug 08 07:24:34 -0700 2008
commit  5623c977398087b9149040f9a8fb4fa9e2dd7220
tree    61c4e2852233636b9acf9f9a3603e09f7840e1c3
parent  ce0420b610386add9bea2e2ad110c6f21a5cf236
...
23
24
25
26
 
27
28
29
...
100
101
102
103
 
104
105
106
107
108
109
110
 
111
112
113
114
115
116
117
 
118
119
120
...
23
24
25
 
26
27
28
29
...
100
101
102
 
103
104
105
106
107
108
109
 
110
111
112
113
114
115
116
 
117
118
119
120
0
@@ -23,7 +23,7 @@ module ActionView # :nodoc:
0
         # humanized version of the field name. If you explicitly set it to
0
         # blank (and don't set +close+) then the title bar will be omitted.
0
         def calendar_select(object_name, method, options = {}, html_options = {})
0
- InstanceTag.new(object_name, method, self, nil, options.delete(:object)).to_calendar_select_tag(options, html_options)
0
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_calendar_select_tag(options, html_options)
0
         end
0
       end
0
     end
0
@@ -100,21 +100,21 @@ module ActionView # :nodoc:
0
       def year_dom_id()
0
         # FIXME: Magic numbers from #date_or_time_select's position hash.
0
         options = options_with_prefix(1, { :discard_type => true })
0
- name_and_id_from_options(options, 'year')
0
+ _date_name_and_id_from_options(options, 'year')
0
         options[:id]
0
       end
0
 
0
       def month_dom_id()
0
         # FIXME: Magic numbers from #date_or_time_select's position hash.
0
         options = options_with_prefix(2, { :discard_type => true })
0
- name_and_id_from_options(options, 'month')
0
+ _date_name_and_id_from_options(options, 'month')
0
         options[:id]
0
       end
0
 
0
       def day_dom_id()
0
         # FIXME: Magic numbers from #date_or_time_select's position hash.
0
         options = options_with_prefix(3, { :discard_type => true })
0
- name_and_id_from_options(options, 'day')
0
+ _date_name_and_id_from_options(options, 'day')
0
         options[:id]
0
       end
0
 

Comments

    No one has commented yet.