François Beausoleil
2005-Oct-03 17:08 UTC
[Rails-spinoffs] BlindDown doesn''t work anymore ?
Hi all ! Bad day for me. Customer calls, and says he can''t add phones and addresses to his contacts. A bit of looking around confirms the fact. I track HEAD for scriptaculous, because I need in place editor. So, a binary search in the scriptaculous repository revealed that r2137 works, and that r2138 and subsequent don''t. I also tried HEAD (r2444), to no avail. This is on WinXP Pro SP2, FireFox 1.0.7 fr-CA. <html> <head> <script src="javascripts/prototype.js" type="text/javascript"> </script> <script src="javascripts/scriptaculous.js" type="text/javascript"> </script> </head> <body> <a href="#" onclick="new Effect.BlindDown(''new-area''); return false;">Add new</a> <div id="new-area" style="display: block; height: 0px; overflow: hidden;"> <form action="."> <label>Name: <input id="name" name="name"/></label> <input type="submit"/> </form> </div> </body> </html> After creating this test case, I found out that the style on #new-area seems to be the culprit. If I use display: none, it works in rHEAD. If I move it back to what you see here, the it won''t work until I hit r2137. Similar behaviour results in Internet Explorer 6.0. So, what am I doing wrong ? Obviously, I should style the div differently. In my application, I seem to have a problem - if I set display: none, the div never shows up. Can anyone shed some light on this ? How should the effect''s target be styled ? Looking at the examples, display: none seems to be the standard, but I might be missing something. Thanks ! Fran?ois
François Beausoleil
2005-Oct-04 17:31 UTC
[Rails-spinoffs] BlindDown doesn''t work anymore ?
Anybody on this ? Sorry for bumping, but I really don''t understand. Thanks, Fran?ois Fran?ois Beausoleil said the following on 2005-10-03 16:24:> Hi all ! > > Bad day for me. Customer calls, and says he can''t add phones and > addresses to his contacts. A bit of looking around confirms the fact. I > track HEAD for scriptaculous, because I need in place editor. > > So, a binary search in the scriptaculous repository revealed that r2137 > works, and that r2138 and subsequent don''t. I also tried HEAD (r2444), > to no avail. > > This is on WinXP Pro SP2, FireFox 1.0.7 fr-CA. > > <html> > <head> > <script src="javascripts/prototype.js" type="text/javascript"> > </script> > <script src="javascripts/scriptaculous.js" type="text/javascript"> > </script> > </head> > <body> > <a href="#" onclick="new Effect.BlindDown(''new-area''); > return false;">Add new</a> > <div id="new-area" > style="display: block; height: 0px; overflow: hidden;"> > <form action="."> > <label>Name: <input id="name" name="name"/></label> > <input type="submit"/> > </form> > </div> > </body> > </html> > > After creating this test case, I found out that the style on #new-area > seems to be the culprit. If I use display: none, it works in rHEAD. If > I move it back to what you see here, the it won''t work until I hit > r2137. Similar behaviour results in Internet Explorer 6.0. > > So, what am I doing wrong ? Obviously, I should style the div > differently. In my application, I seem to have a problem - if I set > display: none, the div never shows up. > > Can anyone shed some light on this ? How should the effect''s target be > styled ? Looking at the examples, display: none seems to be the > standard, but I might be missing something. > > Thanks ! > Fran?ois > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs-- Fran?ois Beausoleil Solutions Technologiques Internationales T?l?phone: (819) 566-5997 Courriel: francois@teksol.info
There where some changes recently to make it work in more cases, that could have caused breaking it for you. I''ll investigate this later this week (very limited time ATM). Could you file a bug report? Thomas Am 04.10.2005 um 22:43 schrieb Fran?ois Beausoleil:> Anybody on this ? Sorry for bumping, but I really don''t understand. > > Thanks, > Fran?ois > > Fran?ois Beausoleil said the following on 2005-10-03 16:24: >
I''ve the same problem :( Il giorno mar, 04/10/2005 alle 16.43 -0400, Fran?ois Beausoleil ha scritto:> Anybody on this ? Sorry for bumping, but I really don''t understand. > > Thanks, > Fran?ois>-- APaella <apaella@yahoo.it> ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com
François Beausoleil
2005-Oct-05 11:40 UTC
[Rails-spinoffs] BlindDown doesn''t work anymore ?
Filed as #2387 http://dev.rubyonrails.com/ticket/2387 Thomas Fuchs said the following on 2005-10-05 04:19:> There where some changes recently to make it work in more cases, that > could > have caused breaking it for you. I''ll investigate this later this week > (very limited time ATM). > > Could you file a bug report?