From 7828d3dd9b0404c995de3dfbc86bc3e89451c717 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Mon, 9 Jul 2007 23:12:58 +0000 Subject: [PATCH] :saveas works now --- ChangeLog | 1 + chrome/content/vimperator/commands.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 96214840..452787d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@
 2007-07-02:
 	* version ???
+	* :saveas finally works (by calmar)
 	* Changed "|" to ", " as a url seperator in :open
 	* Ctrl-^ mapping for selecting the alternate tab/buffer
 	* QuickMarks support (new commands :qmarks/:qmarkadd/:qmarkdel and
diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js
index d916450a..b07b68fa 100644
--- a/chrome/content/vimperator/commands.js
+++ b/chrome/content/vimperator/commands.js
@@ -652,7 +652,7 @@ function Commands() //{{{
         }
     ));
     addDefaultCommand(new Command(["sav[eas]"],
-        function() { goDoCommand('Browser:SavePage'); },
+        function() { saveDocument(window.content.document); },
         {
             usage: ["sav[eas]"],
             short_help: "Save current web page to disk",