Here is a link to a screen 
shot: 
http://f.cl.ly/items/3x3d0h2F1A1d1O3J3a2n/Screen%20Shot%202014-05-13%20at%204.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:
>
> > > > 
>
> > > > 200 OK
>
> > > > 
>
> > > > 5. Request Headersview source
>
> > > > 
>
> > > > 1. Accept:
>
> > > > 
>
> > > > text/javascript, text/html, application/xml, text/xml, */*
>
> > > > 
>
> > > > 2. Accept-Encoding:
>
> > > > 
>
> > > > gzip,deflate,sdch
>
> > > > 
>
> > > > 3. Accept-Language:
>
> > > > 
>
> > > > en-US,en;q=0.8
>
> > > > 
>
> > > > 4. Connection:
>
> > > > 
>
> > > > keep-alive
>
> > > > 
>
> > > > 5. Content-Length:
>
> > > > 
>
> > > > 193
>
> > > > 
>
> > > > 6. Content-type:
>
> > > > 
>
> > > > application/x-www-form-urlencoded; charset=UTF-8
>
> > > 
>
> > > > 7. Cookie:
>
> > > 
> user_credentials=e1c8542d0e295a72a61e0fecfa53f94d6b2bb5accec91138d8651cbe0
>
> > > 5
>
> > > 
>
> > > 
>
> > > 
> 1f15c705f92649af386601967792b8753357bd8f39fee17b0aaed1162542f1d19b8341%3A%
>
> > > 3A> 
>
> > > > 2289; _thcic_session=22868ccad2a5b4ef12c7c066cb128af0
>
> > > > 
>
> > > > 8. Host:
>
> > > > 
>
> > > > lvh.me:3000
>
> > > > 
>
> > > > 9. Origin:
>
> > > > 
>
> > > > http://lvh.me:3000
>
> > > > 
>
> > > > 10. Referer:
>
> > > > 
>
> > > > http://lvh.me:3000/admin/products
>
> > > > 
>
> > > > 11. User-Agent:
>
> > > > 
>
> > > > Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36
>
> > > > 
>
> > > > (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
>
> > > > 
>
> > > > 12. X-Prototype-Version:
>
> > > > 
>
> > > > 1.7
>
> > > > 
>
> > > > 13. X-Requested-With:
>
> > > > 
>
> > > > XMLHttpRequest
>
> > > > 
>
> > > > 6. Form Dataview sourceview URL encoded
>
> > > > 
>
> > > > 1. utf8:
>
> > > > 
>
> > > > ✓
>
> > > > 
>
> > > > 2. _method:
>
> > > > 
>
> > > > put
>
> > > > 
>
> > > > 3. authenticity_token:
>
> > > > 
>
> > > > So/SUxqDom6gK7+Ynpf107VxSPfRwekkTxVRpvbjq5Q=
>
> > > > 
>
> > > > 4. record[sku]:
>
> > > > 
>
> > > > SKU_2
>
> > > > 
>
> > > > 5. record[price]:
>
> > > > 
>
> > > > 400
>
> > > > 
>
> > > > 6. record[description]:
>
> > > > 
>
> > > > Test Product
>
> > > > 
>
> > > > 7. commit:
>
> > > > 
>
> > > > Update
>
> > > > 
>
> > > > 7. Response Headersview source
>
> > > > 
>
> > > > 1. Cache-Control:
>
> > > > 
>
> > > > max-age=0, private, must-revalidate
>
> > > > 
>
> > > > 2. Connection:
>
> > > > 
>
> > > > Keep-Alive
>
> > > > 
>
> > > > 3. Content-Length:
>
> > > > 
>
> > > > 1359
>
> > > > 
>
> > > > 4. Content-Type:
>
> > > > 
>
> > > > text/javascript; charset=utf-8
>
> > > > 
>
> > > > 5. Date:
>
> > > > 
>
> > > > Wed, 14 May 2014 16:10:14 GMT
>
> > > > 
>
> > > > 6. Etag:
> ...

-- 
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.

Reply via email to