Hello Sergio, Thank you very much for taking the time to answer me! I use the 'stable rails 2.3' version of AS, but upgrading to the master branch did nothing to solve the problems. But after many efforts experimenting with AS js.rjs code, I stumbled upon the solution in an old issue (issue 742): I only needed to include javascript 'effects'.
Adding <%= javascript_include_tag 'effects' %> to my application layout solved all of the mentioned problems at once. Maybe a note should be made about including 'effects' on the "getting started" page. Thanks again for your time and efforts! Frederic p.s. Before stumbling upon the solution, I also discovered that replacing "page[element_row_id(:action => :list, :id => @record.id)].highlight" by "page.visual_effect :highlight, element_row_id(:action => :list, :id => @record.id)" in /vendor/plugins/active_scaffold/frontends/default/views/ on_create.js.rjs solved the 'create' problem. If the second syntax is more widely accepted than the first one, maybe it should be favored? On Nov 22, 12:05 pm, "Sergio Cambra .:: entreCables S.L. ::." <[email protected]> wrote: > On Viernes, 19 de Noviembre de 2010 17:51:39 Frederic escribió: > > > It's IE 8 (8.0.6001.18702), running in Windows XP SP3. > > I can't reproduce in the same environment, with latest master branch. > Also, I have tried with IE7 and IE6 and it works, although I'm not sure all > features work in IE6, they should work in IE8 (and I hope in IE7 too). > > > > > > > I have found more information on one of the problems: in development > > mode, the browser shows a message when I hit the 'Create' button after > > filling a form generated by the 'Create New' button: > > "Message from webpage: RJS error: TypeError: Object doesn't support > > this property or method" > > followed by another message: > > "Element.insert("as_manage_dataset-tbody", {top: "\n<tr class=\"record > > \" id=\"as_manage_dataset-list-55-row\">\n \n ... ..." (where > > 'manage_dataset' is the name of my model). > > > For the other problem (the 'Close' or 'X' button having no effect when > > a record is shown in list mode), I haven't found anything. > > > Does this shed light on the problems? > > > Frederic > > -- > 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.
