sanzbox@yahoo.com
2005-Aug-09 05:00 UTC
[Rails-spinoffs] Update: In-place textarea patch/diff for controls.js
Ok, as per Thomas'' request - TEXTAREA in-place editor support now includes a unit test. (Nice framework btw) Updated svn diff attached. -San --- "sanzbox@yahoo.com" <sanzbox@yahoo.com> wrote:> From sanzbox@yahoo.com Tue Aug 9 00:39:19 2005 > Date: Tue, 9 Aug 2005 00:39:19 -0700 (PDT) > From: "sanzbox@yahoo.com" <sanzbox@yahoo.com> > To: rails-spinoffs@lists.rubyonrails.org > Subject: [Rails-spinoffs] In-place textarea > patch/diff for controls.js > > Hi Thomas et al, > > Here''s a diff to add TEXTAREA in-place editing > support > to controls.js. This is my first patch so let me > know the official process to add a patch into the > stream and please let me know if there are some > coding > idioms I should be following. > > Features: > > Allows user to specify the rows/cols (width/height) > of > the in-place input field. If the row size is > greater > than ''1'' we render a multiline textarea instead of a > one line ''text'' input field. Also adds ''size'' as a > synonym for ''cols'' so you can use either to specify > the width of single row text input elements too. > > This also adds a ''<br>'' tag to the input form so the > ''OK/cancel'' text appears underneath the textarea > instead of beside it. > > Cheers, > > -San > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs>____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -------------- next part -------------- A non-text attachment was scrubbed... Name: textarea.diff Type: application/octet-stream Size: 8140 bytes Desc: 1242850444-textarea.diff Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050809/9390afa0/textarea-0001.obj
Reasonably Related Threads
- In-place textarea patch/diff for controls.js
- Fwd: Re: disable ''tab'' key wish for incremental autocomplete of textareas
- insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
- formatting inside a <textarea>
- Ajax.InPlaceEditor: controls.js update