Problem with text in-place editor in Hobo 1.3 RC2

21 vistas
Ir al primer mensaje no leído

Ignacio Huerta

no leída,
19 sept 2011, 12:38:17 p.m.19/9/2011
para hobousers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm having problems with in-place editors for text fields in Hobo 1.3 RC2.

I made a very simple app to try to isolate it: app/models/event.rb
fields do
name :string
notes :text
location :string
timestamps
end

app/views/events/show.dryml:
<show-page>
<field-list: tag="editor"/>
</show-page>


The in-place editor for "location" works perfectly, but the one for
"notes" doesn't. After some investigation with Firebug I suspect this
has to do with the uid of the in-place editor not being set. Apparently
every in-place editor has a id like "uid1", "uid2", "uid3"... But my
text fields don't.

I'm not sure if it just me or a Hobo 1.3 bug. Can you please try to
reproduce this problem?

Thanks!

- --
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk53b/cACgkQBPlUJ6RHaORFGQCgwABl7x5RjGmPlA5M/3YMrjWU
Iz0Anjpps/vKysWORnQeEB8iVlZHtQ7E
=nhQc
-----END PGP SIGNATURE-----

Matt Jones

no leída,
25 sept 2011, 6:59:25 p.m.25/9/2011
para hobo...@googlegroups.com

On Sep 19, 2011, at 12:38 PM, Ignacio Huerta wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I'm having problems with in-place editors for text fields in Hobo 1.3 RC2.
>
> I made a very simple app to try to isolate it: app/models/event.rb
> fields do
> name :string
> notes :text
> location :string
> timestamps
> end
>
> app/views/events/show.dryml:
> <show-page>
> <field-list: tag="editor"/>
> </show-page>
>
>
> The in-place editor for "location" works perfectly, but the one for
> "notes" doesn't. After some investigation with Firebug I suspect this
> has to do with the uid of the in-place editor not being set. Apparently
> every in-place editor has a id like "uid1", "uid2", "uid3"... But my
> text fields don't.
>
> I'm not sure if it just me or a Hobo 1.3 bug. Can you please try to
> reproduce this problem?

Reproduced and fixed - more details here:

https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/967

--Matt Jones

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos