Ignore:
Timestamp:
11/05/12 17:40:46 (12 years ago)
Author:
vmipsl
Message:

print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_statistics/web/project/statistics-script.jsp

    r654 r661  
    206206    }, 
    207207 
    208     onClickExport: function() 
    209     { 
    210         $( "#containerMiddle" ).printPreview(); 
     208    onClickPrint: function() 
     209    { 
     210        var printContent = new PrintContent(); 
     211        printContent.displayPrintPreview(); 
     212 
     213//        $( "#containerMiddle" ).printPreview(); 
     214//        $( 'a.print-preview' ).printPreview(); 
    211215//        $("#containerMiddle").jqprint(); 
    212216 
     
    386390        new Button( {value:"<spring:message code="statistics.data.download"/>", parent:this.rightSlide.getDivContent(), className: "positive action_button", onClick:jQuery.proxy( this.displayDownloadEvolution, this )} ); 
    387391        new Button( {value:"<spring:message code="statistics.map.distribution"/>", parent:this.rightSlide.getDivContent(), className: "positive action_button", onClick:jQuery.proxy( this.displayMapDistribution, this )} ); 
    388         new Button( {value:"<spring:message code="label.export"/>", parent:this.rightSlide.getDivContent(), className: "blue export_button", onClick:jQuery.proxy( this.onClickExport, this )} ); 
     392        new Button( {value:"<spring:message code="label.export"/>", parent:this.rightSlide.getDivContent(), className: "blue export_button print-preview", onClick:jQuery.proxy( this.onClickPrint, this )} ); 
    389393    }, 
    390394 
     
    554558        this.changeMiddleSlideForMap(); 
    555559    } 
    556  
    557560} ); 
    558561 
Note: See TracChangeset for help on using the changeset viewer.