Ignore:
Timestamp:
11/17/09 09:02:41 (15 years ago)
Author:
amuller
Message:

Ticket #597 - melhoria no modulo gerenciador de arquivos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/tp/dompdf/include/cached_pdf_decorator.cls.php

    r1575 r1654  
    3838 */ 
    3939 
    40 /* $Id: cached_pdf_decorator.cls.php,v 1.3 2006/07/07 21:31:02 benjcarson Exp $ */ 
     40/* $Id: cached_pdf_decorator.cls.php 186 2009-10-19 22:42:06Z eclecticgeek@gmail.com $ */ 
    4141 
    4242/** 
     
    129129  } 
    130130   
     131  function page_script($script, $type = 'text/php') { 
     132     
     133    // We want to remove this from cached pages since it may not be correct 
     134    $this->_pdf->close_object(); 
     135    $this->_pdf->page_script($script, $type); 
     136    $this->_pdf->reopen_object($this->_current_page_id); 
     137  } 
     138   
    131139  function new_page() { 
    132140    $this->_pdf->close_object(); 
Note: See TracChangeset for help on using the changeset viewer.