Ignore:
Timestamp:
11/21/08 21:28:01 (3 years ago)
Author:
sys
Message:

debug séparateur d'uri pour les dispatch d'events : ";" à la place de ","

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7pre/Xul_Cms/components/scHttpDataProvider.js

    r12164 r12178  
    686686         
    687687        xDispatchUpdate : function(pCdWsp, pUri, pEventType, pAuthor){ 
    688                 if(this.fDebugComm) debug("debug.ServerCommunication:::xDispatchUpdate local:"+pCdWsp+" - "+pUri+" - pEventType:::"+pEventType+" pAuthor:::"+pAuthor+" this:::"+this+" this.fItemsListeners:::"+this.fItemsListeners); 
     688                if(this.fDebugComm) debug("debug.ServerCommunication:::xDispatchUpdate local:"+pUri+" - pEventType:::"+pEventType+" pAuthor:::"+pAuthor); 
    689689                var vItemsListener = this.fItemsListeners; 
    690690                while(vItemsListener) { 
     
    731731                                } 
    732732                                var vUptds = pReq.getResponseHeader("scUpdts_"+pCdWsp); 
    733                                 if(vUptds) { 
    734                                         vEventType = 1; 
    735                                         vUptds.split(",").forEach(dispatchUri, this); 
    736                                 } 
    737733                                var vRm = pReq.getResponseHeader("scRm_"+pCdWsp); 
    738                                 if(vRm) { 
    739                                         vEventType = 2; 
    740                                         vRm.split(",").forEach(dispatchUri, this); 
    741                                 } 
    742734                                var vSt = pReq.getResponseHeader("scSt_"+pCdWsp); 
    743                                 if(vSt) { 
    744                                         vEventType = 3; 
    745                                         vSt.split(",").forEach(dispatchUri, this); 
    746                                 } 
    747735                                if(this.fDebugComm) { 
    748736                                        if(vUptds) debug("debug.ServerCommunication:::scUpdts_"+pCdWsp+":::::"+vUptds+":::clientid="+this.fClientId); 
    749737                                        if(vRm) debug("debug.ServerCommunication:::scRm_"+pCdWsp+":::::"+vRm+":::clientid="+this.fClientId); 
    750738                                        if(vSt) debug("debug.ServerCommunication:::scSt_"+pCdWsp+":::::"+vSt+":::clientid="+this.fClientId); 
     739                                } 
     740                                if(vUptds) { 
     741                                        vEventType = 1; 
     742                                        vUptds.split(";").forEach(dispatchUri, this); 
     743                                } 
     744                                if(vRm) { 
     745                                        vEventType = 2; 
     746                                        vRm.split(";").forEach(dispatchUri, this); 
     747                                } 
     748                                if(vSt) { 
     749                                        vEventType = 3; 
     750                                        vSt.split(";").forEach(dispatchUri, this); 
    751751                                } 
    752752                        } 
Note: See TracChangeset for help on using the changeset viewer.