Fix saving of gzipped CSS files via nsIWebBrowserPersist -- this will fix some of the pages for which snapshots were losing the CSS, but it doesn't address the @import issue

This commit is contained in:
Dan Stillman 2006-11-21 16:05:41 +00:00
parent 060e2942a0
commit c72df62264

View file

@ -191,7 +191,7 @@ Zotero.Attachments = new function(){
var wbp = Components
.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"]
.createInstance(nsIWBP);
//wbp.persistFlags = nsIWBP.PERSIST_FLAGS...;
wbp.persistFlags = nsIWBP.PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION;
var encodingFlags = false;
Zotero.DB.beginTransaction();
@ -300,7 +300,7 @@ Zotero.Attachments = new function(){
var wbp = Components
.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"]
.createInstance(nsIWBP);
//wbp.persistFlags = nsIWBP.PERSIST_FLAGS...;
wbp.persistFlags = nsIWBP.PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION;
var encodingFlags = false;
Zotero.DB.beginTransaction();