DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33318>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33318

           Summary: CocoonForms Javascript error on Mac IE 5
           Product: Cocoon 2
           Version: 2.1.6
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CocoonForms
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: [EMAIL PROTECTED]


form-libs.js for CocoonForms uses the undefined key word.

Apparently Mac IE 5 doesn't recognize this.  A work around mention on the web
was to use the typeof operator and compare the result with the string 
"undefined"

so change

if (name == undefined) { ... }

to 

if ( typeof(name) == "undefined" ) {... }

I'll try and attach a patch once this bug is submitted.

The file affected in the trunk is 

http://svn.apache.org/repos/asf/cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/resources/js/forms-lib.js

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to