fix history "Recent Events" jump-to-top refresh by blocking WebKit from loading URIs directly

This commit is contained in:
Garrett LeSage 2011-06-16 17:36:33 +02:00
parent 06683678b2
commit 6dea2b5458

View file

@ -92,7 +92,8 @@ namespace SparkleShare {
process.StartInfo.Arguments = args.Request.Uri.Replace (" ", "\\ "); // Escape space-characters
process.Start ();
UpdateEvents ();
// Don't follow HREFs (as this would cause a page refresh)
args.RetVal = 1;
}
};