Item13264: $(document).pngie... is not a function

pencil
Priority: Enhancement
Current State: Needs Developer
Released In: n/a
Target Release:
Applies To: Extension
Component: WikiDrawPlugin
Branches:
Reported By: GuilainCabannes
Waiting For:
Last Change By: SvenDowideit

$(document) fonction error

  • Opera state that the following statement in wikidraw.tmpl is not an function
 
<script>
$(document).pngie({
blankgif:'%PUBURL%/%SYSTEMWEB%/WikiDrawPlugin/pngie/Transparent.gif',
sizingMethod:'crop'
 });
</script>%TMPL:END%

I suggest to change to :
<script>
( function($) {
$(document).pngie({
blankgif:'%PUBURL%/%SYSTEMWEB%/WikiDrawPlugin/pngie/Transparent.gif',
sizingMethod:'crop'
 });
} ) ( jQuery );
</script>%TMPL:END%

  • modification and commit are done localy, waiting acceptation.

Sven, this extension is marked Coordinate with Author. Are you wiling to accept a patch?

-- GeorgeClark - 18 Feb 2015
 

ItemTemplate edit

Summary $(document).pngie... is not a function
ReportedBy GuilainCabannes
Codebase
SVN Range
AppliesTo Extension
Component WikiDrawPlugin
Priority Enhancement
CurrentState Needs Developer
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 11 Oct 2015, SvenDowideit
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