Changeset 661 for ether_statistics/web/project/statistics-script.jsp
- Timestamp:
- 11/05/12 17:40:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_statistics/web/project/statistics-script.jsp
r654 r661 206 206 }, 207 207 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(); 211 215 // $("#containerMiddle").jqprint(); 212 216 … … 386 390 new Button( {value:"<spring:message code="statistics.data.download"/>", parent:this.rightSlide.getDivContent(), className: "positive action_button", onClick:jQuery.proxy( this.displayDownloadEvolution, this )} ); 387 391 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 )} ); 389 393 }, 390 394 … … 554 558 this.changeMiddleSlideForMap(); 555 559 } 556 557 560 } ); 558 561
Note: See TracChangeset
for help on using the changeset viewer.