Stephen Major
2005-Sep-01 07:12 UTC
[Rails-spinoffs] FW: In-place editor inside a Draggable
I was able to do a cheap workaround By putting this: this.editField.focus(); at the end of the enterEditMode: function() this still does not allow highlighting with the mouse. Also if there are regular forms in a draggable the end user is screwed especially when using firefox. -----Original Message----- From: Stephen Major [mailto:smajor@gmail.com] Sent: Thursday, September 01, 2005 3:28 AM To: ''rails-spinoffs@lists.rubyonrails.org'' Subject: In-place editor inside a Draggable Hello, I have noticed that when an In-place editor is inside a Draggable in IE it is real sketchy, cannot highlight text and plain out cannot edit in Firefox. Respectfully, Stephen
I don''t have time to dig into it at the moment (really busy at work lately), but it should just be a matter of turning off the draggable while in edit mode. I did this by patching the drag and drop library to have a global flag for turning off drag and drop. This is obviously not the best solution. :-) I''ll have more time next week, so I''ll start digging through this then. On 9/1/05, Stephen Major <smajor@gmail.com> wrote:> I was able to do a cheap workaround > By putting this: > this.editField.focus(); > > > at the end of the enterEditMode: function() > > > this still does not allow highlighting with the mouse. Also if there are > regular forms in a draggable the end user is screwed especially when using > firefox. > > > -----Original Message----- > From: Stephen Major [mailto:smajor@gmail.com] > Sent: Thursday, September 01, 2005 3:28 AM > To: ''rails-spinoffs@lists.rubyonrails.org'' > Subject: In-place editor inside a Draggable > > Hello, > > I have noticed that when an In-place editor is inside a Draggable in IE it > is real sketchy, cannot highlight text and plain out cannot edit in Firefox. > > > > Respectfully, > Stephen > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >