| Summary: | News under Tools not opening after adding HTML code in MainBlock | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Sandeep Patel <samrocks1011> |
| Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | ||
| Version: | 20.11 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | Code use in news under Mainblock. | ||
|
Description
Sandeep Patel
2021-05-11 13:40:00 UTC
The cause of the endless refreshing isn't in Koha, it's in your code. The line, "document.getElementById("defaultOpen").click();" seems to be to blame.
Dear Owen, Thanks for Quick Response. Now I am not able to access the News Part, how can I remove the code? Can I do it from the database, if yes which table the content will be. Regards, Sandeep Patel Dear Owen, I found the html code under database table opac_news. After replacing the content the Issue Got resolved. Thanks Owen. Regards, Sandeep Patel |