Side navigation
#3095 closed bug (duplicate)
Opened June 27, 2008 01:05PM UTC
Closed December 10, 2009 03:45AM UTC
Ajax + FF3 conflict: Unwanted refresh due to re-extend 's'
Reported by: | abo | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | ajax | Version: | 1.2.6 |
Keywords: | post ajax extend refresh | Cc: | |
Blocked by: | Blocking: |
Description
ajax: function( s ) { // Extend the settings, but re-extend 's' so that it can be // checked again later (in the test suite, specifically) s = jQuery.extend(true, s, jQuery.extend(true, {}, jQuery.ajaxSettings, s)); ... }
Re-extending 's' seems to conflict with Firefox 3 when doing an ajax post; An unnecessary refresh occurs.
Without the re-extend (like below) it works like a charm in all browsers.
ajax: function( s ) { s = jQuery.extend(true, {}, jQuery.ajaxSettings, s)); ... }
Can you please provide a test case ? that is, a small html file with the minimum html/css/js necessary to reproduce the problem.
Thanks