[Cartoweb-dev] [Bug 1612] New: replace pdfrotate toolswitch hack in dhtmlInit.js by proper check in php

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Nov 9 03:51:19 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1612

           Summary: replace pdfrotate toolswitch hack in dhtmlInit.js by
                    proper check in php
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: oliver.christen at camptocamp.com


replace the pdfrotate tool unsetter hack in dhtmlInit.js by a proper tool switch
in ClientExportPdf.php

replace
cw3_initial_selected_tool = cw3_initial_selected_tool.replace(/pdfrotate/g,
"zoomin");

by something like 

if ($this->cartoclient->getClientSession()->selectedTool == 'pdfrotate') {
  $this->cartoclient->getClientSession()->selectedTool = 'zoomin';
}

maybe on Initialize() level or so



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list