[Chameleon-dev] [Bug 1484] New: ClearWFSFilter does not clear
	NAV_CMD
    bugzilla-daemon at bugzilla.maptools.org 
    bugzilla-daemon at bugzilla.maptools.org
       
    Fri Jun  9 06:18:06 EDT 2006
    
    
  
http://bugzilla.maptools.org/show_bug.cgi?id=1484
           Summary: ClearWFSFilter does not clear NAV_CMD
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl
The ClearWFSFilter widget does not clear the NAV_CMD before submit, so if zoom
in is your active tool, after using the ClearWFSFilter widget the map zooms in
which is unwanted.
Need to fix this as well in the 2.4 branch.
        // warn the user that they are about to clear the filter
        if ( confirm( "{$szWarningMessage}" ) )
        {
            // set the hidden form vars
            {$this->mszHTMLForm}.WFS_CLEAR_FILTER.value = 1;
            // clear the nav cmd
            {$this->mszHTMLForm}.NAV_CMD.value = "";
            // submit the form
            {$this->mszHTMLForm}.submit();
        }
------- 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 Chameleon-dev
mailing list