On Lunes, 12 de Julio de 2010 11:35:36 Andrew Sergeev escribió:
> > Do you get some JS error on page loading?
>
> document.on is not a function
> Line 3
> in record_select\record_select.js:
>
> document.observe("dom:loaded", function() {
> RecordSelect.document_loaded = true;
> document.on('ajax:before', 'div.record-select * li a',
> function(event) {
> var link = event.findElement();
> if (link) {
> if (RecordSelect.notify(link) == false) {
> event.stop();
> } else {
> link.toggleClassName("selected");
> }
> }
> return true;
> });
> });
Lance submitted some commits to support rails 3 which broke rails 2.3.x
support. You can use my repository:
http://github.com/scambra/recordselect
When I will merge those commits I will make a branch for rails 2.3.x support.
--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.