diff --git a/app/controllers/admin/courses.php b/app/controllers/admin/courses.php index d806fc17a9874cc0e1aba56df8d5f0c96c2c7012..4bada95893c1184d9c220d0b6ed8628d529d141d 100644 --- a/app/controllers/admin/courses.php +++ b/app/controllers/admin/courses.php @@ -1185,7 +1185,7 @@ class Admin_CoursesController extends AuthenticatedController $course->config->store('COURSE_ADMIN_NOTICE', trim(Request::get('notice'))); if (Request::isXhr()) { - $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.reloadCourse'); + $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.loadCourse'); $this->response->add_header('X-Dialog-Close', '1'); $this->render_text($course->id); } else { diff --git a/app/controllers/course/basicdata.php b/app/controllers/course/basicdata.php index 3bf10f730a6f88e7640d63686ca4a1125befae5c..b9ba67e793b57efaa40fa69cd21d7b462ba7e359 100644 --- a/app/controllers/course/basicdata.php +++ b/app/controllers/course/basicdata.php @@ -526,7 +526,7 @@ class Course_BasicdataController extends AuthenticatedController $this->flash['open'] = Request::get("open"); if (Request::isDialog()) { $this->response->add_header('X-Dialog-Close', 1); - $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.reloadCourse'); + $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.loadCourse'); $this->render_text($course_id); } else { $this->redirect($this->url_for('course/basicdata/view/' . $sem->getId())); diff --git a/app/controllers/course/lvgselector.php b/app/controllers/course/lvgselector.php index 60b090e81b7e741ae31077c16e4f348cb9dff8f2..2ef55ea00ed0a57fd8258fa91267dafe6b551126 100644 --- a/app/controllers/course/lvgselector.php +++ b/app/controllers/course/lvgselector.php @@ -198,7 +198,7 @@ class Course_LvgselectorController extends AuthenticatedController if (Request::isDialog()) { $this->response->add_header('X-Dialog-Close', 1); - $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.reloadCourse'); + $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.loadCourse'); $this->render_text($this->course_id); } else { $this->redirect($url); diff --git a/app/controllers/course/study_areas.php b/app/controllers/course/study_areas.php index 2993f569636a990b929fed99e4cb60c9dda56e1d..4de29dcfc71cd9df016b7aee10b4354b6701582d 100644 --- a/app/controllers/course/study_areas.php +++ b/app/controllers/course/study_areas.php @@ -151,7 +151,7 @@ class Course_StudyAreasController extends AuthenticatedController } if (Request::isDialog()) { $this->response->add_header('X-Dialog-Close', 1); - $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.reloadCourse'); + $this->response->add_header('X-Dialog-Execute', 'STUDIP.AdminCourses.App.loadCourse'); $this->render_text($this->course->id); } else { $this->redirect($url); diff --git a/app/controllers/course/timesrooms.php b/app/controllers/course/timesrooms.php index 7168bd7c99f5c2a6db8eb4386a8b1ba43dd3703b..f1c2f8e051679eb76c483878b53fdf0c6cafd193 100644 --- a/app/controllers/course/timesrooms.php +++ b/app/controllers/course/timesrooms.php @@ -246,7 +246,7 @@ class Course_TimesroomsController extends AuthenticatedController unset($_SESSION['_checked_dates']); } if (Request::isDialog()) { - $this->response->add_header('X-Dialog-Execute', '{"func": "STUDIP.AdminCourses.App.reloadCourse", "payload": "'.$this->course->getId().'"}'); + $this->response->add_header('X-Dialog-Execute', '{"func": "STUDIP.AdminCourses.App.loadCourse", "payload": "'.$this->course->getId().'"}'); } } @@ -318,7 +318,7 @@ class Course_TimesroomsController extends AuthenticatedController $this->relocate(str_replace('_', '/', Request::option('origin'))); } if (Request::isDialog()) { - $this->response->add_header('X-Dialog-Execute', '{"func": "STUDIP.AdminCourses.App.reloadCourse", "payload": "'.$this->course->getId().'"}'); + $this->response->add_header('X-Dialog-Execute', '{"func": "STUDIP.AdminCourses.App.loadCourse", "payload": "'.$this->course->getId().'"}'); } } } diff --git a/app/controllers/resources/room_request.php b/app/controllers/resources/room_request.php index 03c65161229cf23249926d6c97c6ee2fc6fc8d88..f128f23bae3017c42fe93ffc98a8200466dcd636 100644 --- a/app/controllers/resources/room_request.php +++ b/app/controllers/resources/room_request.php @@ -1998,7 +1998,7 @@ class Resources_RoomRequestController extends AuthenticatedController // redirect to reload all infos and showing the most current ones $this->redirect('resources/room_request/resolve/' . $request_id); } elseif (Request::isDialog()) { - $this->response->add_header('X-Dialog-Execute', '{"func": "STUDIP.AdminCourses.App.reloadCourse", "payload": "'.Context::get()->id.'"}'); + $this->response->add_header('X-Dialog-Execute', '{"func": "STUDIP.AdminCourses.App.loadCourse", "payload": "'.Context::get()->id.'"}'); } }