[Proto-Scripty] Table messes with remote_form_for

2009-10-20 Thread C K Kashyap
Hi all, Looks like table messes with remote_form_for a bunch of fields in a table with form_for, seems to work (as in submit does submit and takes you to a new page) but if I replace it with remote_form_for, it stops submitting My speculation is that some logic in remote_form_for is get

[Proto-Scripty] Re: best way to get first form on page without using id?

2009-10-20 Thread Tobie Langel
Little incentive in using CSS selectors, here, though you could get away with either: $$('form').first(); or $$('form')[0]); You should simply rely on the DOM API[1] and use: document.forms[0]; Best, Tobie [1] http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-1689064 On Oct 2

[Proto-Scripty] Re: minifying prototype, is it allowed?

2009-10-20 Thread Buda
To see all of missings and errors - try to test library in this tool http://jsutility.pjoneil.net/ On 20 окт, 17:59, "T.J. Crowder" wrote: > Hi, > > This thread[1] may be of use -- someone who's taken the time to > identify the missing semis and give line numbers!  (And opened a > ticket in ligh

[Proto-Scripty] best way to get first form on page without using id?

2009-10-20 Thread patrick
Is this the best way? $$('body').first().down('form') -patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@google

[Proto-Scripty] Re: Ajax callbacks execute in unpredictable order

2009-10-20 Thread Tobie Langel
Hi, Just use the onCreate callback instead of the onLoading one and you will be all set. Best, Tobie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send

[Proto-Scripty] Re: Ajax callbacks execute in unpredictable order

2009-10-20 Thread JoJo
So this means I can only have one swirly going on at any time because it's always hiding and showing #ajaxloadingindicator. What if I have two or more Ajaxed GUI element on the page that needed the swirlies? On Oct 19, 11:12 pm, "speedpac...@gmail.com" wrote: > Hi, > > I had the same issue, but

[Proto-Scripty] Re: minifying prototype, is it allowed?

2009-10-20 Thread Alex McAuley
i'll write a parser when i have time to check for these things and ammend the code to have the semi colons... will try to get it done in the next day or 2 Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "T.J. Crowder" To: "Prototype & script.aculo.us" Sent:

[Proto-Scripty] Re: in case you want to compress (minify) the current 1.6.1 version and it doesn't work...

2009-10-20 Thread Jim Higson
On Tuesday 20 October 2009 01:12:43 Motig wrote: > check these line numbers and add the semicolons there so the web > compressors and minifiers will work FWIW, yuicompressor handles 1.6.1 without issue. It gets very good compression and has a proper JS parser (from Rhino) so it is very safe. --

[Proto-Scripty] Re: minifying prototype, is it allowed?

2009-10-20 Thread T.J. Crowder
Hi, This thread[1] may be of use -- someone who's taken the time to identify the missing semis and give line numbers! (And opened a ticket in lighthouse.) [1] http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/9212100bb09a86e3 -- T.J. On Oct 19, 12:54 pm, "T.J. Crowd

[Proto-Scripty] Re: in case you want to compress (minify) the current 1.6.1 version and it doesn't work...

2009-10-20 Thread T.J. Crowder
Thank you for that. I know I ran into (and fixed) one of those in trunk, thank you for taking the time to do the ticket and this thread. Patches[1] are always welcome too. :-) [1] http://prototypejs.org/contribute Thanks again, -- T.J. Crowder Independent Software Consultant tj / crowder softw

[Proto-Scripty] in case you want to compress (minify) the current 1.6.1 version and it doesn't work...

2009-10-20 Thread Motig
check these line numbers and add the semicolons there so the web compressors and minifiers will work line 314 timeout = timeout * 1000 << missing semicolon line 1103 var CONCAT_ARGUMENTS_BUGGY = (function() { return [].concat(arguments)[0][0] !== 1; })(1,2) << missing semicolon line 2880

[Proto-Scripty] Re: Coding disabled on a link

2009-10-20 Thread Eric
Hi, Those solutions sound a little overkill. Something really simple should do it, like this: function stopEvent(e) { e.stop(); } function disableLink(link) { Event.observe(link,"click",stopEvent); Element.addClassName(link,'disabled'); } function enableLink(link) { Event.stopObs

[Proto-Scripty] Re: Looking for a tool like tinyMCE written with prototype.js

2009-10-20 Thread Mona Remlawi
http://livepipe.net/control/textarea cheers -- mona On Tue, Oct 20, 2009 at 7:27 AM, Manfred Rebentisch wrote: > > Hello, > I use tinyMCE for my Content Management System, for Web-Designer and > Web-Developer. They can edit the content easy. > But I am not happy with tinyMCE because it is very