New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item9564: JQGrid lang file loaded before JQueryPlugin

Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: JQGridPlugin
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/ b/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/G
index 29e3db4..d861f2a 100644
--- a/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/
+++ b/trunk/JQGridPlugin/lib/Foswiki/Plugins/JQGridPlugin/
@@ -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
Checkins JQGridPlugin:5aa8a955dd0a
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 19 Nov 2010, MichaelDaum - This page was cached on 11 Mar 2018 - 01:51.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License