ProDinner after Upload Photo, browser error "Func is not a function"
I've set up a photo upload like in Prodinners, the photo upload, cropping and save work, but when I close the modal there is an error in the following: if (func) func(); with the browser saying, "Uncaught TypeError: func is not a function" What have I got wrong?
asked at 25 Oct 2017
in `Meal/Index.cshtml` the line utils.itemEditedAl('MealsList', 'Id', adjustMeals)(res); needs to be edited like this: utils.itemEditedAl('MealsList', adjustMeals)(res);
answered at 25 Oct 2017
What does the 'Id', string parameter do? Why is it used in the Prodinner and not for other implementations?
at 08 Nov 2017
it was the name of the key parameter used in the controller in previous versions, now it is always "id"
at 09 Nov 2017
to leave an answer