Item14151: Typo in JQPhotoSwipeContrib Config.spec. Causes plugin to fail to activate.

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: JQPhotoSwipeContrib
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: MichaelDaum
(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
 
Topic revision: r3 - 02 Sep 2016, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy