i-TechX / iTechX

iTechX: Open source, edX-style, free course sharing platform.
https://i-techx.github.io
MIT License
33 stars 74 forks source link

Can't download slides with firefox #103

Open glyh opened 7 months ago

glyh commented 7 months ago

While attempting that, I got [object Object]

why-in-Shanghaitech commented 7 months ago

Hi! Thank you for reaching out. Could you please provide the URL of the webpage, along with the link to the resource you cannot open?

You may also head to '设置' and try other proxies.

glyh commented 7 months ago

I think this is mostly an UI issue, I have no trouble downloading slides from chrome or using the old UI.

EDIT: specifically I encounter this in https://i-techx.github.io/iTechX/courses?course_code=CS181, and clicking "浏览文件" under Lecture Slides.

why-in-Shanghaitech commented 7 months ago

Hi! Thank you for reporting this. I'd love to help, but I'm quite busy these days... I'll come back later. For now, users may have to use Chrome or other Chromium browsers.

why-in-Shanghaitech commented 6 months ago

Issue confirmed with Windows 10, Firefox 119. When clicking "浏览文件", the page goes blank with "[object Object]" in the main body.

The hyperlink for "浏览文件" is a long javascript code calling the layui layer plugin. I guess it is related to how firefox is executing js codes, but I need to dive deeper to figure out how to fix this.