Thank you for the update and direction. Unfortunately I don't have enough javascript experience in order to be helpful.
I will be making this change locally. On Friday, May 23, 2014 3:22:40 AM UTC-4, Sergio Cambra wrote: > > This line is using a wrong variable: > > > https://github.com/activescaffold/active_scaffold/blob/v3.2.20/app/assets/javascripts/prototype/active_scaffold.js#L937 > > > > refreshed_content_or_update should be refreshed_content_or_reload > > > > You can edit that line on your install of activescaffold. It's fixed on > 3.3.0, prototype support is not removed but some new features are not > added, it's too much work for me testing support for a library which I > don't use anymore. Any help is welcome > > > > El Miércoles, 21 de mayo de 2014 07:05:35 Mel Riffe escribió: > > > Here is a link to a screen > > > shot: > > > > http://f.cl.ly/items/3x3d0h2F1A1d1O3J3a2n/Screen%20Shot%202014-05-13%20at%2 > > > 04.39.54%20PM.png > > > > > > To summarize: "ReferenceError: refreshed_content_or_update is not > defined" > > > > > > On Wednesday, May 21, 2014 10:02:35 AM UTC-4, Sergio Cambra wrote: > > > > what RJS Error alert do you get? > > > > > > > > El Lunes, 19 de mayo de 2014 08:03:10 Mel Riffe escribió: > > > > > Hi Sergio, > > > > > > > > > > > > > > > > > > > > Sorry for the delay in my response; I only work on this project at > the > > > > > > > > > > beginning of the week. > > > > > > > > > > > > > > > > > > > > As to your inquiry: > > > > > > > > > > > > > > > > > > > > Yes, the element is there before I push the Update button. > > > > > > > > > > No, the element is not there after the RJS Error alert is dismissed. > > > > > > > > > > > > > > > > > > > > What does that mean? > > > > > > > > > > > > > > > > > > > > Thank you, very much, for your help. > > > > > > > > > > On Thursday, May 15, 2014 10:40:11 AM UTC-4, Sergio Cambra wrote: > > > > > > After update, can you try finding element with > > > > > > > > > > > > as_admin__products-update-1-form> > > > > > > > > > > > > ID? You can use console: > > > > > > > > > > > > > > > > > > > > > > > > $('as_admin__products-update-1-form') > > > > > > > > > > > > El Miércoles, 14 de mayo de 2014 09:14:05 Mel Riffe escribió: > > > > > > > Hi Sergio, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Here is the Response: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > try { > > > > > > > > > > > > > > > > > > > > > > > > > > > > var action_link = > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ActiveScaffold.find_action_link('as_admin__products-update-1-form'); > > > > > > > > > > > > > > > > > > > > > > > > > > > > action_link.update_flash_messages(''); > > > > > > > > > > > > > > > > > > > > > > > > > > > > action_link.close('\n<tr class=\"record \" > > > > > > > > > > > > > > > > > > > > > > > > > > > > id=\"as_admin__products-list-1-row\" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > data-refresh=\"/admin/products/1/row?_method=get&utf8=%E2%9C%93\">\n > > > > > > > > \n > > > > > > > > > > > <td class=\"sku-column sorted\">\n SKU_2\n<\/td>\n <td > > > > > > > > > > > > > > > > > > > > > > > > > > > > class=\"price-column numeric\">\n 400\n<\/td>\n <td > > > > > > > > > > > > > > > > > > > > > > > > > > > > class=\"description-column\">\n Test Product\n<\/td>\n <td > > > > > > > > > > > > > > > > > > > > > > > > > > > > class=\"actions\"><table cellpadding=\"0\" cellspacing=\"0\">\n > > > > > > > > <tr>\n > > > > > > > > > > > <td class=\"indicator-container\">\n <img alt=\"loading > indicator\" > > > > > > > > > > > > > > > > > > > > > > > > > > > > class=\"loading-indicator\" > > > > > > > > > > > > > > > > > > > > > > > > > > > > id=\"as_admin__products-record-1-loading-indicator\" > > > > > > > > > > > > > > > > > > > > > > > > > > > > src=\"/assets/active_scaffold/indicator.gif\" > > > > > > > > > > > > style=\"visibility:hidden;\" > > > > > > > > > > > > > />\n <\/td>\n <td><a > > > > > > > > > > > > > > > > > > > > > > > > > > > > href=\"/admin/products/1/edit?utf8=%E2%9C%93\" class=\"edit > > > > > > > > as_action\" > > > > > > > > > > > data-action=\"edit\" data-position=\"replace\" > data-remote=\"true\" > > > > > > > > > id=\"as_admin__products-__admin__products-edit-1-link\">Edit<\/a><\/td>\ > > > > > > > > > > > n > > > > > > > > > > > > > > > > > > > > > > > > > > > > <td><a href=\"/admin/products/1?utf8=%E2%9C%93\" class=\"show > > > > > > > > > > > > > > > > > > > > > > > > > > > > as_action\" data-action=\"show\" data-position=\"replace\" > > > > > > > > > > > > > > > > > > > > > > > > > > > > data-remote=\"true\" > > > > > > > > > id=\"as_admin__products-__admin__products-show-1-link\">Show<\/a><\/td>\n\ > > > > > > > > > > n > > > > > > > > > > > > > <\/tr>\n<\/table>\n<\/td>\n\n\n \n<\/tr>\n'); > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > } catch (e) { alert('RJS error:\n\n' + e.toString());} > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Here are the Headers (in case you need to see those too): > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 1. Remote Address: > > > > > > > > > > > > > > > > > > > > > > > > > > > > 127.0.0.1:3000 > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2. Request URL: > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://lvh.me:3000/admin/products/1 > > > > > > > > > > > > > > > > > > > > > > > > > > > > 3. Request Method: > > > > > > > > > > > > > > > > > > > > > > > > > > > > POST > > > > > > > > > > > > > > > > > > > > > > > > > > > > 4. Status Code: > > > > > > > > <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; > margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-stat... -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
