Ignore:
Timestamp:
04/10/11 19:43:01 (9 years ago)
Author:
grum
Message:

bug:2149
Compatibility with Piwigo 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php

    r9034 r10246  
    22/* ----------------------------------------------------------------------------- 
    33  class name: GCPRequestBuilder 
    4   class version  : 1.1.4 
     4  class version  : 1.1.5 
    55  plugin version : 3.4.3 
    66  date           : 2010-09-08 
     
    8484| 1.1.4   | 2011/01/31 | * mantis bug:2167 
    8585|         |            | 
     86| 1.1.5   | 2011/04/10 | * Compatibility with piwigo 2.2 
    8687|         |            | 
    8788|         |            | 
     
    9192|         |            | 
    9293 
    93  --------------------------------------------------------------------------- */ 
     94  --------------------------------------------------------------------------- */ 
    9495 
    9596if(!defined('GPC_DIR')) define('GPC_DIR' , baseName(dirname(dirname(__FILE__)))); 
     
    539540 
    540541    $baseName=basename(dirname(dirname(__FILE__))).'/js/'; 
    541     GPCCore::addHeaderJS('jquery', 'themes/default/js/jquery.packed.js'); 
    542     GPCCore::addHeaderJS('gpc.interface', 'plugins/'.$baseName.'external/interface/interface.js'); 
    543     GPCCore::addHeaderJS('gpc.inestedsortable', 'plugins/'.$baseName.'external/inestedsortable.pack.js'); 
    544     GPCCore::addHeaderJS('gpc.rbCriteriaBuilder', 'plugins/'.$baseName.'rbCriteriaBuilder'.GPCCore::getMinified().'.js'); 
     542    GPCCore::addHeaderJS('jquery', 'themes/default/js/jquery.min.js'); 
     543    GPCCore::addHeaderJS('gpc.interface', 'plugins/'.$baseName.'external/interface/interface.js', array('jquery')); 
     544    GPCCore::addHeaderJS('gpc.inestedsortable', 'plugins/'.$baseName.'external/inestedsortable.pack.js', array('jquery', 'gpc.interface')); 
     545    GPCCore::addHeaderJS('gpc.rbCriteriaBuilder', 'plugins/'.$baseName.'rbCriteriaBuilder'.GPCCore::getMinified().'.js', array('gpc.inestedsortable')); 
    545546 
    546547    $template->append('head_elements', 
     
    13941395    $filter=array_flip($filter); 
    13951396 
    1396     GPCCore::addHeaderJS('jquery', 'themes/default/js/jquery.packed.js'); 
    13971397    GPCCore::addHeaderJS('jquery.ui', 'themes/default/js/ui/packed/ui.core.packed.js'); 
    13981398    GPCCore::addHeaderJS('jquery.ui.dialog', 'themes/default/js/ui/packed/ui.dialog.packed.js'); 
Note: See TracChangeset for help on using the changeset viewer.