Changeset 1237

Show
Ignore:
Timestamp:
10/21/08 14:28:36 (3 months ago)
Author:
ojohner
Message:

Add new attribut in tree model for print a "clean" label

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/camptocamp/MapFishAeai/client/mfbase/mapfish/widgets/print/Base.js

    r1157 r1237  
    572572        function addLayer(layerNode) { 
    573573            var layerInfo = { 
    574                 name: layerNode.attributes.text, 
     574                name: layerNode.attributes.printText || layerNode.attributes.text, 
    575575                icon:  mapfish.Util.relativeToAbsoluteURL(layerNode.attributes.icon) 
    576576            }; 
     
    578578            layerNode.eachChild(function(classNode) { 
    579579                classesInfo.push({ 
    580                     name: classNode.attributes.text, 
     580                    name: classNode.attributes.printText || classNode.attributes.text, 
    581581                    icon:  mapfish.Util.relativeToAbsoluteURL(classNode.attributes.icon) 
    582582                });