Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Disable caching on loadurl AJAX request #33

Closed
wants to merge 1 commit into from

Conversation

spikex
Copy link
Contributor

@spikex spikex commented Oct 12, 2010

The cache option for the jQuery $.ajax call is set to "true" by default, telling the browser it can cache the AJAX requests. IE8 honors this (FF does not) which results in all responses from the loadurl being cached and the field being edited always showing the first response it received. This caching is kept even when the page is reloaded adding to the confusion. Setting cache to "false" tells the browser not to cache the $.ajax response and makes Jeditable work as expected in IE8.

…ches requests to loadurl across page reload.
@DavidCaya
Copy link

Had the problem and actually had to apply this change locally to fix the issue. Would be great if this was applied, or if a setting could be added so the caching could be forcibly disabled.

@NicolasCARPi
Copy link
Owner

Hello,

I'm the new maintainer of this repository.

This change has been merged.

Thank you for your contribution :)

~Nico

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants