Skip to content

Commit

Permalink
Force bootstrap revalidation after browsing to folder
Browse files Browse the repository at this point in the history
Fixes #219
  • Loading branch information
canton7 committed Jan 28, 2016
1 parent 0ad7523 commit 276f853
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SyncTrayzor/Pages/ViewerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ private void BrowseFolderPath()
if (result == CommonFileDialogResult.Ok)
{
var script =
@"$('#folderPath').val('" + dialog.FileName.Replace("\\", "\\\\").Replace("'", "\\'") + "')";
@"$('#folderPath').val('" + dialog.FileName.Replace("\\", "\\\\").Replace("'", "\\'") + "');" +
@"$('#folderPath').change();";
this.WebBrowser.ExecuteScriptAsync(script);
}
});
Expand Down

0 comments on commit 276f853

Please sign in to comment.