Changeset 12904


Ignore:
Timestamp:
02/28/09 10:21:51 (3 years ago)
Author:
sys
Message:

debug encoding uri (genblock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Cms/chrome/content/scenaricms/widgets/block/gen/genblock.xbl.xml

    r12861 r12904  
    119119                                <parameter name="pUriSubInst"/> 
    120120                                <body><![CDATA[ 
    121                                     var vUrl = this.fUriObject.getDataProvider().getSourceUrl("pub") + pUriSubInst; 
     121                                    var vUrl = this.fUriObject.getDataProvider().getSourceUrl("pub") + encodeURI(pUriSubInst); 
    122122                                        //ut.debug("vUrl:: "+vUrl); 
    123123                                        if(vUrl.substr(vUrl.length-3).toLowerCase() == "odt"){ 
     
    157157                                <body><![CDATA[ 
    158158                                    try{ 
    159                                             var vUrl = this.fUriObject.getDataProvider().getSourceUrl("pub") + pUriSubInst; 
     159                                            var vUrl = this.fUriObject.getDataProvider().getSourceUrl("pub") + encodeURI(pUriSubInst); 
    160160                                            // ut.debug("vUrl ::::" + vUrl); 
    161161                                                window.openDialog("chrome://scenaricms/content/util/browser/browser.xul", "_blank", "chrome, centerscreen, dialog=no", vUrl, "Traces d'erreurs"); 
Note: See TracChangeset for help on using the changeset viewer.