diff --git a/SparkleShare/Common/HTML/event-log.html b/SparkleShare/Common/HTML/event-log.html
index 06a3d95e..a9db7c63 100755
--- a/SparkleShare/Common/HTML/event-log.html
+++ b/SparkleShare/Common/HTML/event-log.html
@@ -10,7 +10,7 @@
$('dl dd:nth-child(-n+10)').css('display', 'block');
$('.day-entry-content .event-entry:last-child').css('border', 'none');
- $('a').click(function (event) {
+ $('a').not('.show').click(function (event) {
window.external.LinkClicked($(this).attr("href"));
event.preventDefault();
});
diff --git a/SparkleShare/Mac/SparkleEventLog.cs b/SparkleShare/Mac/SparkleEventLog.cs
index b8d59df5..a1cd3d5b 100755
--- a/SparkleShare/Mac/SparkleEventLog.cs
+++ b/SparkleShare/Mac/SparkleEventLog.cs
@@ -262,8 +262,10 @@ namespace SparkleShare {
PreventsApplicationTerminationWhenModal = false
};
- if ((NSPanelButtonType) panel.RunModal ()== NSPanelButtonType.Ok) {
- string target_file_path = Path.Combine (panel.DirectoryUrl.RelativePath, panel.NameFieldStringValue);
+ if ((NSPanelButtonType) panel.RunModal () == NSPanelButtonType.Ok) {
+ string target_file_path = Path.Combine (panel.DirectoryUrl.RelativePath,
+ panel.NameFieldStringValue);
+
Controller.SaveDialogCompleted (target_file_path);
} else {