Patches item #2771992, was opened at 2009-04-17 22:24 Message generated for change (Tracker Item Submitted) made by jhorigan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=559968&aid=2771992&group_id=80503
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: John Horigan (jhorigan) Assigned to: Nobody/Anonymous (nobody) Summary: Have LicenseChooser.js support being embedded inside a form Initial Comment: LicenseChooser.js does not work properly in many browsers (Safari, Firefox, Opera) if the script tag that includes it is placed inside an html form. The problem seems to be that the script includes an html fragment that contains a form element (with id cc_js_cc_js_result_storage). Internet Explorer seems to be able to handle a form within a form, but other browsers fail in some manner. In this patch the javascript that includes the html fragment searches up the DOM element tree to see if the script tag is contained within a form or not. If the script tag is within a form then the cc_js_cc_js_result_storage element is converted from a <form> element to a <p> element before the html is added to the DOM. If the script tag is not within a form then the existing template.html is used. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=559968&aid=2771992&group_id=80503 _______________________________________________ cc-devel mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/cc-devel
