it triggers the message, but still adds the course after refresh.
The console shows:
Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)
course_add.js:136 Uncaught ReferenceError: messages is not defined
jquery.js:8630 POST http://localhost:8000/school/course/add/ 500 (INTERNAL SERVER ERROR)k.cors.a.crossDomain.send @ jquery.js:8630n.extend.ajax @ jquery.js:8166(anonymous function) @ course_add.js:117n.event.dispatch @ jquery.js:4435r.handle @ jquery.js:4121
course_add.js:136 Uncaught ReferenceError: messages is not defined
it triggers the message, but still adds the course after refresh.
The console shows: Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) course_add.js:136 Uncaught ReferenceError: messages is not defined jquery.js:8630 POST http://localhost:8000/school/course/add/ 500 (INTERNAL SERVER ERROR)k.cors.a.crossDomain.send @ jquery.js:8630n.extend.ajax @ jquery.js:8166(anonymous function) @ course_add.js:117n.event.dispatch @ jquery.js:4435r.handle @ jquery.js:4121 course_add.js:136 Uncaught ReferenceError: messages is not defined