[Chameleon-dev] [Bug 1079] New: TimeFilterWidget function onMonthClicked crashes in IE6

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri Jun 3 09:25:15 EDT 2005


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

           Summary: TimeFilterWidget function onMonthClicked crashes in IE6
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: uli.mueller at geops.de


Javascript function onMonthClicked in the TimeFilterWidget crashes because the
reserved word length is used as a variable, e.g. in 
length = {$this->mszHTMLForm}.end_day.length;
length = {$this->mszHTMLForm}.end_day.length;
length = {$this->mszHTMLForm}.start_day.length;

Obviously only Internet Explorer is so strict (tested on IE6 with SP2). It works
fine with Opera and thunderbird at least.

Solution: replace length with ilength or something when used as a variable and
not as a function:

ilength = {$this->mszHTMLForm}.end_day.length;
ilength = {$this->mszHTMLForm}.end_day.length;
ilength = {$this->mszHTMLForm}.start_day.length;



------- 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