mantisbt-plugins/jquery

Plugin does not work with MantisBT 1.3

dregad opened this issue · 2 comments

MantisBT 1.3 bundles jQuery already. Loading this plugin causes a conflict as the library is loaded twice, resulting in features relying on it to fail, and MantisBT falls back to scriptless functionality.

I more or less expected this to happen. Any suggestions on how to fix it? I could add a typeof jQuery check but IIRC we don't allow inline scripts in MantisBT 1.3 so that wouldn't work.

I'll just add a maximum version dependency check on the plugin - will push shortly