Item8375: plugin overloads the global JS object, breaking other plugins
Priority: Urgent
Current State: New
Released In: n/a
Target Release:
This plugin overloads the global JS object (with
json.js
), which is bad practice and causes issues with other extensions that use
JavaScript.
See
Item2345 (
DpSyntaxHighlighterPlugin) and
Support.Question340 (
EditChapterPlugin).
If it only uses
json.js
to parse JSON, then it could use JQuery instead.
--
AndrewJones - 23 Dec 2009
ToolTipPlugin doesn't work with this plugin either. Given the number of bad interactions caused by this plugin, it's unusable in our installation.
--
TimHeilig - 25 Jun 2010
if i enable
JSPopupPlugin the
TinyMCEPlugin stops working in Internet Explorer 6/7/8
Error:"*.js is undefined"
(Firefox is not affected)
--
MarcusPockrandt - 25 Aug 2010
Disabling
JSPopupPlugin eliminated several problems on an installation of Foswiki 1.0.9 including:
- ImageGalleryPlugin's lightbox frontend did not work (clicking on a thumbnail loaded the image instead of a lightbox overlay).
- Using JQuery's .attr('disabled', 'disabled') on a set of form inputs threw an error (in firebug).
- Submitting a form asynchronously via jQuery Form Plugin threw an "uncaught exception" at location "JS frame :: http://wiki/pub/System/JSPopupPlugin/json.js :: anonymous :: line 72" (reported by firebug).
--
JaysonLoewen - 27 Oct 2010