mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix open-log-dir button handler
This commit is contained in:
parent
0e259dcd29
commit
8ba105d1e4
1 changed files with 6 additions and 1 deletions
|
@ -43,6 +43,7 @@ ready = function() {
|
|||
|
||||
var domainServer = remote.getGlobal('domainServer');
|
||||
var acMonitor = remote.getGlobal('acMonitor');
|
||||
var openLogDirectory = remote.getGlobal('openLogDirectory');
|
||||
|
||||
var pendingLines = {
|
||||
'ds': new Array(),
|
||||
|
@ -218,7 +219,11 @@ ready = function() {
|
|||
appendLogMessages('ac');
|
||||
}
|
||||
|
||||
$('#view-logs').on('click', remote.openLogDirectory);
|
||||
// Binding a remote function directly does not work, so bind to a function
|
||||
// that calls the remote function.
|
||||
$('#view-logs').on('click', function() {
|
||||
openLogDirectory();
|
||||
});
|
||||
|
||||
// handle filtering of table rows on input change
|
||||
$('#search-input').on('input', function() {
|
||||
|
|
Loading…
Reference in a new issue