Breaks SiteMap in concrete 5.7.5. Unsure why but sitemap functioning with uninstall.

Permalink Browser Info Environment
Just an FYI: Breaks SiteMap in concrete 5.7.5. Unsure why but sitemap functioning with uninstall.

Type: Discussion
Status: In Progress
somesayinice
View Replies:
FumitoMIZUNO replied on at Permalink Reply
FumitoMIZUNO
Hello,

I'm on summer vacation. I will check the compatibility with c5.7.5 in a few weeks. Sorry for incovenience.
andrew replied on at Permalink Reply
andrew
Confirmed. The issue is that the on_start() method is adding JavaScript files on every request, including the AJAX request used by the sitemap. The JavaScript is expecting valid JSON so when the request comes back with JS statements at the top it breaks.

Since you're gone for a few weeks I'm removing this add-on from the 5.7.5 and 5.7.5.1 marketplace for the time being.
FumitoMIZUNO replied on at Permalink Reply
FumitoMIZUNO
Thanks, andrew.

I understand that my addon calls requireAsset in a wrong way.
I will update my addon at the end of August.
FumitoMIZUNO replied on at Permalink Reply
FumitoMIZUNO
Hello,

I update my addon.
Ver.1.0 of Accessibility per User now works well on Sitemap page.

concrete5 Environment Information

Concrete 5.7

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.26 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.