Do you have any errors in your javascript console? That's the usual
cause of spinner not closing problems. If so, please post them.
Started GET "/frogas/1-abc" for 127.0.0.1 at 2012-08-27 18:23:19 +0200Processing by FrogasController#show as HTMLParameters: {"id"=>"1-abc"}User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]Froga Load (0.2ms) SELECT "frogas".* FROM "frogas" WHERE "frogas"."id" = ? LIMIT 1 [["id", "1-abc"]]DRYML: Compiled app/views/frogas/show.dryml in 0.16sUser Load (0.2ms) SELECT "users".* FROM "users" LIMIT 30Rendered frogas/show.dryml (314.8ms)Completed 200 OK in 342ms (Views: 331.9ms | ActiveRecord: 0.7ms)Started PUT "/frogas/1-abc" for 127.0.0.1 at 2012-08-27 18:23:29 +0200Processing by FrogasController#update as JSParameters: {"render_options"=>{"preamble"=>"", "contexts_function"=>"hjq.ajax.updatePartContexts"}, "render"=>{"0"=>{"part_context"=>"BAhbCDoQZWRpdG9yX3BhcnRJIhJmcm9nYToxOnZhbG9yBjoGRUZbAA==--a67a617096e93c9eb56c40fcea6a42697ae9128e", "id"=>"editor-part-1", "function"=>"hjq.ajax.update"}}, "page_path"=>"/frogas/1-abc", "authenticity_token"=>"0MN0jS5y/taGhXeUI8xIp8DfW2MpOe7bo26RBA7sXnA=", "froga"=>{"valor"=>"33"}, "id"=>"1-abc"}User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]Froga Load (0.3ms) SELECT "frogas".* FROM "frogas" WHERE "frogas"."id" = ? LIMIT 1 [["id", "1-abc"]](10.9ms) UPDATE "frogas" SET "valor" = 33, "updated_at" = '2012-08-27 16:23:29.948943' WHERE "frogas"."id" = 1Call part: editor_part. this-id = froga:1:valor, locals = []Completed 200 OK in 434ms (Views: 0.1ms | ActiveRecord: 11.9ms)
How about javascript errors? What does the fire bug console say?
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/eBiWcfwrTcEJ.
I have this same issue, it appears that the element with the id hjq-spinner is never created, so it is never found to close. Oddly enough this works on pages that don't have any other ajaxified parts onthem
On Sunday, August 26, 2012 11:26:59 AM UTC-4, danitxu wrote:Hi,
if I want to have an ajax editor in show.dryml, using this:
<field-list fields="name,number1,date2" tag="editor"/>
or this:
<field-list-v1 fields="name,number1,date2" tag="editor"/>
makes the Ajax spinner be rotating forever, and to finish it needs the page to be refreshed. I'm using Hobo 1.4.0.pre8 and rails 3.18.
Any advice? thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/lX7rLe3g6tsJ.