diff --git a/public/react/public/js/applications.js b/public/react/public/js/applications.js index ad46a5aa0..e99bf61cd 100644 --- a/public/react/public/js/applications.js +++ b/public/react/public/js/applications.js @@ -11267,7 +11267,7 @@ Copyright © 2018 Basecamp, LLC type: "GET", dataType: "script", cache: true, - async: false, + async: true, global: false, // Only evaluate the response if it is successful (gh-4126) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index a3efafdb9..afed0fa9d 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -90,7 +90,7 @@ function railsgettimes(proxy) { if (timestamp && checkSubmitFlg === false) { $.ajax({ - url: proxy, async: false, success: function (data) { + url: proxy, async: true, success: function (data) { if (data.status === 0) { timestamp = data.message; setpostcookie(); @@ -103,7 +103,7 @@ function railsgettimes(proxy) { }, 2000); } else if (checkSubmitFlg === false) { $.ajax({ - url: proxy, async: false, success: function (data) { + url: proxy, async: true, success: function (data) { if (data.status === 0) { timestamp = data.message; setpostcookie(); diff --git a/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js b/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js index b9925c051..c021c07e7 100644 --- a/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js +++ b/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js @@ -93,7 +93,7 @@ class CoursesHomeCard extends Component{ {item.school}
-{/* +{item.teacher && item.teacher.real_name}
{item&&item.school}
- {/*