From efba37a270714e52dea41bd629595f38dc9f8707 Mon Sep 17 00:00:00 2001 From: Antony Male Date: Wed, 22 Apr 2015 17:56:27 +0100 Subject: [PATCH 01/24] Teach 'Open Folder' button in Syncthing GUI to handle both 0.10 and 0.11 Fixes #65 --- src/SyncTrayzor/Pages/ViewerViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SyncTrayzor/Pages/ViewerViewModel.cs b/src/SyncTrayzor/Pages/ViewerViewModel.cs index 39e49711..bb9c14e2 100644 --- a/src/SyncTrayzor/Pages/ViewerViewModel.cs +++ b/src/SyncTrayzor/Pages/ViewerViewModel.cs @@ -112,8 +112,9 @@ private void InitializeBrowser(ChromiumWebBrowser webBrowser) { if (e.IsMainFrame && e.Url != "about:blank") { + // In 0.11, it changed from 'folder.ID' to 'folder.id' var script = @"$('#folders .panel-footer .pull-right').prepend(" + - @"'