This code ** http://jsfiddle.net/wagenet/ACzaJ/8/ ** was working a few days ago, when i returned to it today, it throws {“error”: “Please use POST request”}, when i click add button
Also the jsfiddle editor.js always throws exception on this line:
function stop(){cc = stop; throw StopIteration;};
Does anyone knows the cause of this issue.
Many thanks
UPDATE
Kindly scroll down to see the many updates i posted as an answer to supplement Peter’s initial answer.
There are a number of problems here.
App.initialize()for event listeners to work{{action}}helper on the button. The form view already has asubmitmethod that will automatically be called when thesubmitevent happens on the form.valueBinding. It appears to be an Ember bug as it works if you remove theid="new-todo".