steve-perkins / fitnessjiffy-spring

Diet and exercise tracker... a robust Spring Boot sample application
http://steveperkins.com/use-spring-boot-next-project/
115 stars 52 forks source link

ReferenceError: userIdString is not defined #10

Open douyw opened 6 years ago

douyw commented 6 years ago

Hi, food can not be created. The userIdString is not defined in function launchCreateFoodModal().

       $("#editFoodOwnerId").val(userIdString);

I searched 'userIdString' throughout the project, only the above code line contains that string. How can it be initialized appropriately?