embedded_sagecell.js and jQuery.noConflict

14 views
Skip to first unread message

e...@tssfl.co

unread,
Sep 5, 2020, 6:05:11 AM9/5/20
to sage-cell
Hello,

embedded_sagecell.js has caused some problems in our forum (https://www.tssfl.com) -- it stopped some extensions/plugins from working properly. I guess, the reason is embedded_sagecell.js overwrites an existing copy of jQuery as described at https://github.com/sagemath/sagecell/issues/521
causing conflict.

The discussion as seen from the link above states that "The jQuery docs say you should call $.noConflict( true )". Was this https://github.com/christianp/sagecell/commit/84131f26cf3f2f531d0f3e9b0b56e2f82b96c8fa solution implemented?

If yes, then the embedded_sagecell.js may be causing a different problem on our site. If not, how can I implement jQuery.noConflict as a possible solution to the problem caused by embedded_sagecell.js?

Kind regards,

Eli


Andrey Novoseltsev

unread,
Sep 5, 2020, 6:04:22 PM9/5/20
to sage-cell
It was not merged as I have objected to the suggested version, pointed to the recommended way, and the discussion stopped. I've made a note to look at it closer. Thank you for digging into it and figuring out what's the problem!

Andrey

Andrey Novoseltsev

unread,
Sep 6, 2020, 5:20:51 PM9/6/20
to sage-cell
Should be working now after https://github.com/sagemath/sagecell/commit/0b4ed5f014ee15c7624e47f8c82f515cd3733b96 can you please test and report?

Thank you!
Andrey
Reply all
Reply to author
Forward
0 new messages