Changeset 6535


Ignore:
Timestamp:
12/18/09 16:34:47 (9 months ago)
Author:
steevanb
Message:

Ajout d'un paramètre cacheTemplate pour ne pas utiliser les caches de templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/js/copix.js

    r6029 r6535  
    1717                // Etend XHR pour envoyer notre identifiant de session AJAX  
    1818                if (MooTools.version == "1.11" && this.options.ajaxSessionId) { 
    19                         XHR.prototype.options.headers['X-Copix-AJAX-Session-Id'] = this.options.ajaxSessionId; 
     19                        XHR.prototype.options.headers['X_COPIX_AJAX_SESSION_ID'] = this.options.ajaxSessionId; 
    2020                }else if (['1.2.0', '1.2.1', '1.2.2'].contains (MooTools.version) && this.options.ajaxSessionId){ 
    21                         Request.prototype.options.headers['X-Copix-AJAX-Session-Id'] = this.options.ajaxSessionId; 
    22                 } 
     21                        Request.prototype.options.headers['X_COPIX_AJAX_SESSION_ID'] = this.options.ajaxSessionId; 
     22                } 
     23                Request.prototype.options.headers['X-COPIX_AJAX_CACHE_TEMPLATE'] = this.options.cacheTemplate; 
    2324                 
    2425                // Mets en place les bonnes fonction pour la génération des URLs 
Note: See TracChangeset for help on using the changeset viewer.