[richfaces-issues] [JBoss JIRA] (RF-11375) jQuery script file broken in FF6 + FF7

Brian Leathem (Commented) (JIRA) jira-events at lists.jboss.org
Sat Oct 8 01:26:16 EDT 2011


    [ https://issues.jboss.org/browse/RF-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633267#comment-12633267 ] 

Brian Leathem commented on RF-11375:
------------------------------------

I ran the attached file in FF7.0.1, and I get no errors.  I did have to delete the f:loadBundle tag though, but I doubt that could be the difference.

Can you provide something that will help us reproduce this error?
                
> jQuery script file broken in FF6 + FF7
> --------------------------------------
>
>                 Key: RF-11375
>                 URL: https://issues.jboss.org/browse/RF-11375
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: base functionality 
>    Affects Versions: 4.0.0.Final
>         Environment: Windows 7 FF6 + FF7
>            Reporter: Heinrich Freiherr von Schwerin
>            Priority: Blocker
>              Labels: chrome, firefox, jquery, richfaces
>         Attachments: error.png, layout.xhtml
>
>
> Ajax requets are not working in Firefox 6 and Firefox 7.
> An error appears while laoding the jquery.js from <application>/javax.faces.resources/jQuery.js.html
> {noformat} unterminated string literal .. "*": "* jquery.js.html (Line 2199){noformat} 
> This is how the line looks in IE and FF 3-5 : (Affected Line in jquery.js 6371)
> {code:JavaScript} 
> 	ajaxSettings: {
> 		url: ajaxLocation,
> 		isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
> 		global: true,
> 		type: "GET",
> 		contentType: "application/x-www-form-urlencoded",
> 		processData: true,
> 		async: true,
> 		/*
> 		timeout: 0,
> 		data: null,
> 		dataType: null,
> 		username: null,
> 		password: null,
> 		cache: null,
> 		traditional: false,
> 		headers: {},
> 		crossDomain: null,
> 		*/
> 		accepts: {
> 			xml: "application/xml, text/xml",
> 			html: "text/html",
> 			text: "text/plain",
> 			json: "application/json, text/javascript",
> 			"*": "*/*"
> 		},
> 		contents: {
> 			xml: /xml/,
> 			html: /html/,
> 			json: /json/
> 		},
> {code} 
> And this how it looks in FF6+
> {code:JavaScript}
> 	ajaxSettings: {
> 		url: ajaxLocation,
> 		isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
> 		global: true,
> 		type: "GET",
> 		contentType: "application/x-www-form-urlencoded",
> 		processData: true,
> 		async: true,
> 		/*
> 		timeout: 0,
> 		data: null,
> 		dataType: null,
> 		username: null,
> 		password: null,
> 		cache: null,
> 		traditional: false,
> 		headers: {},
> 		crossDomain: null,
> 		*/
> 		accepts: {
> 			xml: "application/xml,text/xml",
> 			html: "text/html",
> 			text: "text/plain",
> 			json: "application/json,text/javascript",
> 			"*": "*
> /**/*;q=0.01" : "" ) :
> 			s.accepts[ "*" ];
> {code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list