save.js: pass extra arg to all calls to nsITransfer.init
authorJohn Foerch <jjfoerch@earthlink.net>
Tue, 11 Dec 2012 00:01:44 +0000 (10 19:01 -0500)
committerJohn Foerch <jjfoerch@earthlink.net>
Tue, 11 Dec 2012 00:01:44 +0000 (10 19:01 -0500)
see commit 590d640b.  that only did one call.. this does the rest.

modules/save.js

index b93cfae..ce9e869 100644 (file)
@@ -150,7 +150,7 @@ function save_document_as_text (document, output_file) {
             mime_info_from_mime_type("text/plain"),
             null /* start time */,
             null /* temp file */,
-            persist);
+            persist, false);
     persist.progressListener = tr;
     persist.saveDocument(document, file_uri, null /* data path */,
                          "text/plain", encoding_flags,
@@ -204,7 +204,7 @@ function save_document_complete (document, output_file, output_dir) {
             mime_info_from_mime_type(mime_type),
             null /* start time */,
             null /* temp file */,
-            persist);
+            persist, false);
     persist.progressListener = tr;
     persist.saveDocument(document, file_uri, output_dir /* data path */,
                          mime_type, encoding_flags,