NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item11383 for general documentation changes for release 1.1.5. Use
Item9693 for docu changes for release 2.0.
Item8375: plugin overloads the global JS object, breaking other plugins
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
New |
Extension |
JSPopupPlugin |
|
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