You are here: Foswiki>Tasks Web>Item8944 (07 Jun 2010, MichaelDaum)Edit Attach

Item8944: Path to lang files built incorrectly

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: JQueryPlugin, JQGridPlugin
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: MichaelDaum
Before, we were getting /pub/System/JQGridPlugin/System/JQGridPlugin/plugins/grid/i18n/grid.locale-en.js?version=3.6.3

So I fixed the way the path is built (committed)

But now, the dependencies are not resolved properly. In JQGridPlugin/GRID.pm, we have:

dependencies => ['ui', 'metadata', 'livequery', 'JQUERYPLUGIN::THEME', 'JQGRIDPLUGIN::GRID::LANG']

But, the <script> tags are rendered in this order:
  • /pub/System/JQueryPlugin/jquery-1.3.2.js
  • /pub/System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js?version=2.00
  • /pub/System/JQueryPlugin/ui/jquery-ui.js?version=1.7.2
  • /pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js?version=3630
  • /pub/System/JQueryPlugin/plugins/livequery/jquery.livequery.js?version=1.0.3
  • /pub/System/JQGridPlugin/jquery.jqgrid.js?version=3.6.3
  • /pub/System/JQGridPlugin/jquery.jqgrid.init.js?version=3.6.3
  • /pub/System/JQGridPlugin/i18n/grid.locale-en.js?version=3.6.3
  • /pub/System/JQueryPlugin/plugins/easing/jquery.easing.js?version=1.3'
  • /pub/System/JQueryPlugin/plugins/bgiframe/jquery.bgiframe.js?version=2.1.1

-- PaulHarvey - 23 Apr 2010

Expected: grid.locale-en.js should come before jquery.jqgrid.js

-- PaulHarvey - 23 Apr 2010
 
Topic revision: r3 - 07 Jun 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