Hi everyona, I need you all...
I`m having some trouble with popup. I have a form that has a link that
opens a popup so that the user can make a search, then the result should
be loaded in the form; to do so I need to pass some variables in the
popup link, but if I do so, the popup doesn`t work.
So what I have is this:
<%= link_to ''Buscar Relacionadora'',
''../../secretarias/search'',
:popup => [''Buscar Secretaria'',
''width=1000,height=600,toolbar=no,titlebar=no,status=no,left=500,top=300'']
%>
and what I need is something closer to this:
<%= link_to ''Buscar Relacionadora'', :contoller=>
''secretarias'',
:action=> ''search'',:trabajador_id => @t.id,
:popup => [''Buscar Secretaria'',
''width=1000,height=600,toolbar=no,titlebar=no,status=no,left=500,top=300'']
%>
Any posible solution?
I wish I don''t need javascript..
thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---