Please, open web inspector in browser and sent response of the request
El Martes, 13 de mayo de 2014 14:36:30 Mel Riffe escribió:
> Hopefully someone's seen this before and can direct me to a fix.
>
> Versions:
>
> - Ruby 1.9.3p484
> - Rails 3.2.18
> - ActiveScaffold 3.2.20
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')
> 1. Remote Address:
> 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=e1c8542d0e295a72a61e0fecfa53f94d6b2bb5accec91138d8651cbe05
> 1f15c705f92649af386601967792b8753357bd8f39fee17b0aaed1162542f1d19b8341%3A%3A
> 2289; _thcic_session=22868ccad2a5b4ef12c7c066cb128af0
> 8. Host:
> 9. Origin:
> 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:
> "e12a8af119761af1e50566e62f164396"
> 7. Server:
> WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
> 8. X-Request-Id:
> e4d3a3334d20d5db5bb65810f8d93979
> 9. X-Runtime:
> 0.070894
> 10. X-Ua-Compatible:
what RJS Error alert do you get?
This line is using a wrong variable:
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"
> > ...
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-stat...
Testing latests versions and reporting issues should be useful too