Auto Submit

dev_local_v9_bw
autosubmit 2 years ago
parent a4dfe2f7bb
commit 9fe2f5f419

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.efbf0e14.js"></script>
<script src="/react/build/umi.c1ed9d8d.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -4344,7 +4344,7 @@ var List = function List(_ref) {
className: Listmodules.listContainer,
onClick: function onClick(event) {
event.stopPropagation();
if (!checkboxRef.current.contains(event.target)) {
if (!(0,authority/* isAdmin */.GJ)() || (0,authority/* isAdmin */.GJ)() && checkboxRef.current && !checkboxRef.current.contains(event.target)) {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/common_homework/").concat(dataSource.homework_id, "/detail"));
}
},

@ -2006,7 +2006,7 @@ var List = function List(_ref) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.listItem,
onClick: function onClick(e) {
if (!checkboxRef.current.contains(e.target)) {
if (!(0,authority/* isAdmin */.GJ)() || (0,authority/* isAdmin */.GJ)() && checkboxRef.current && !checkboxRef.current.contains(e.target)) {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/exercise/").concat(v.id, "/detail?random=").concat(v.is_random));
}
},

@ -3200,7 +3200,7 @@ var List = function List(_ref) {
className: Listmodules.listContainer,
onClick: function onClick(event) {
event.stopPropagation();
if (!checkboxRef.current.contains(event.target)) {
if (!(0,authority/* isAdmin */.GJ)() || (0,authority/* isAdmin */.GJ)() && checkboxRef.current && !checkboxRef.current.contains(event.target)) {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/group_homework/").concat(dataSource.homework_id, "/detail"));
}
},

@ -2454,7 +2454,7 @@ var List = function List(_ref) {
className: Listmodules.listContainer,
onClick: function onClick(event) {
event.stopPropagation();
if (!checkboxRef.current.contains(event.target)) {
if (!(0,authority/* isAdmin */.GJ)() || (0,authority/* isAdmin */.GJ)() && checkboxRef.current && !checkboxRef.current.contains(event.target)) {
if ((0,authority/* isStudent */.dE)()) {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/program_homework/").concat(dataSource.homework_id, "/detail?tabs=1"));
} else {

@ -3785,7 +3785,7 @@ var ShixunList = function ShixunList(_ref) {
className: ShixunHomeworksmodules.listItem,
onClick: function onClick(e) {
e.stopPropagation();
if (!checkboxRef.current.contains(e.target)) {
if (!((0,authority/* isAdmin */.GJ)() && batchState) || (0,authority/* isAdmin */.GJ)() && batchState && checkboxRef.current && !checkboxRef.current.contains(e.target)) {
if (v !== null && v !== void 0 && v.is_enter_shixun) {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/shixun_homework/").concat(v.homework_id, "/detail?tabs=0"));
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save