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

Re: [Rails] Drag and Drop question

2019-07-19 Thread Walter Lee Davis
What happens now when you drop the element? Do you see anything in your browser's JavaScript console indicating that the drop event fired? Did you do anything beyond CSS (to make it look a particular way) to define the draggable and droppable behaviors for these elements? Do the draggable

[Rails] Drag and Drop question

2019-07-19 Thread John Sanderbeck
I have an app in production that I am adding a module to for Lunch Ordering What I have is a Menu, which has Meals, and the Meals have Meal Items in Categories like Entree, Vegetable, Fruit, and Drink What I would like to do it allow Drag and Drop to build meals, and Drag and Drop to build