Re: 2.1Beta: Infobox when saving a new article is not shown
Posted: Sun Sep 11, 2016 11:50 pm
It will be the way we clear the cache. This is how we do it:
This will then later set null as the cache content:
Probably IE does not want to set null as the cache content. And yes, it is a bug: https://developer.microsoft.com/en-us/m ... es/106663/.
We could replace null with "". I'll test it in FF and then let you test it in other browsers…
Still, separate bug. Do you want to go ahead and remove the backend js from preview_iframe?
Code: Select all
serendipity.eraseEntryEditorCache = function() {
serendipity.cache("serendipity[body]", null);
serendipity.cache("serendipity[extended]", null);
}
Code: Select all
event.target.result.transaction(["cache"], 'readwrite').objectStore("cache").put(data, id)
We could replace null with "". I'll test it in FF and then let you test it in other browsers…
Still, separate bug. Do you want to go ahead and remove the backend js from preview_iframe?