Item9564: JQGrid lang file loaded before JQueryPlugin

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: JQGridPlugin
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: MichaelDaum
The jqgrid lang js is loaded prior to JQUERYPLUGIN sometimes

Here's what I did to get it working:

diff --git a/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/GRID.pm b/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/G
index 29e3db4..d861f2a 100644
--- a/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/GRID.pm
+++ b/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/GRID.pm
@@ -95,7 +95,7 @@ sub init {
     unless -f $this->{puburl}.'/'.$localeFile;
 
   my $header .= $this->renderJS($localeFile);
-  Foswiki::Func::addToZone('body', "JQUERYPLUGIN::GRID::LANG", $header);
+  Foswiki::Func::addToZone('body', "JQUERYPLUGIN::GRID::LANG", $header, 'JQUERYPLUGIN');
 }
 
 =begin TML

-- PaulHarvey - 27 Aug 2010

Easy fix - easy checkin smile

-- MichaelDaum - 27 Aug 2010
 

ItemTemplate edit

Summary JQGrid lang file loaded before JQueryPlugin
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component JQGridPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins JQGridPlugin:5aa8a955dd0a
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 19 Nov 2010, 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