Item14151: Typo in JQPhotoSwipeContrib Config.spec. Causes plugin to fail to activate.
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
(11:18:43 AM) MichaelDaum: there is an error in its Config.spec
(11:19:07 AM) MichaelDaum: $Foswiki::cfg{JQueryPlugin}{Plugins}{JQPhotoSwipeContrib}{...} should be $Foswiki::cfg{JQueryPlugin}{Plugins}{PhotoSwipe}{...}
--
GeorgeClark - 29 Aug 2016
I changed the Config.spec to read:
$Foswiki::cfg{JQueryPlugin}{Plugins}{PhotoSwipe}{Module} = 'Foswiki::Contrib::JQPhotoSwipeContrib::Core';
# **BOOLEAN**
$Foswiki::cfg{JQueryPlugin}{Plugins}{PhotoSwipe}{Enabled} = 1;
Now it's active, but non-functional.
JavaScript errors when an image gets the focus:
TypeError: e is undefined pkg.js:1:1008
e/o.getChildByClass()
pkg.js:1
e/Oe.init()
pkg.js:1
o.prototype.init/</<()
pkg.js:2
jQuery.event.dispatch()
jquery-2.2.3.js:2
jQuery.event.add/elemData.handle()
jquery-2.2.3.js:2
--
GeorgeClark - 30 Aug 2016