[Rails] Re: Drag and Drop question

2019-08-04 Thread John Sanderbeck
Thank you all... I got the drag and drop working but ran into many other complications from the drag and drop and decided it was too complicated for what I was trying to achieve... Snap to positions, alignment of objects, and on and on. Looked cool but not worth the extra code... :-) John

[Rails] Re: Drag and Drop question

2019-07-20 Thread John Sanderbeck
Ok. Changed to Document.ready and got the drag and drops firing... Also changed the data URl to be a data ID which is the ID of the meal item. The part I am unsure of is assigning the mitem array that gets passed back in the form... I know this should be simple and as you can tell I am a

Re: [Rails] Re: Drag and Drop question

2019-07-19 Thread Hasan Diwan
Add a few Console.log lines to determine where it's dying? -- H On Fri, 19 Jul 2019 at 14:12, John Sanderbeck wrote: > Sorry, I should have elaborated a little more Walter... > > I implemented Interact.js and used an example from a Drifting Ruby > Episode...

[Rails] Re: Drag and Drop question

2019-07-19 Thread John Sanderbeck
Sorry, I should have elaborated a little more Walter... I implemented Interact.js and used an example from a Drifting Ruby Episode... https://www.youtube.com/watch?v=fhnHA7PWq0g Dragging is working but drop doesn't "look" to be firing... My form code currently is like this var