Fixed an issue where the user can't change the connection timeout setting if the fixed port number is enabled. Fixes #6249
parent
f65eb546b7
commit
2570f7d75c
|
@ -14,7 +14,9 @@ var gui = require('nw.gui');
|
|||
var configWindow = gui.Window.get();
|
||||
|
||||
function checkConfiguration() {
|
||||
if (document.getElementById('fixedPortCheck').checked) {
|
||||
var configData = misc.ConfigureStore.getConfigData();
|
||||
|
||||
if (document.getElementById('fixedPortCheck').checked && configData['portNo'] != document.getElementById('portNo').value) {
|
||||
var fixedPort = parseInt(document.getElementById('portNo').value);
|
||||
// get the available TCP port
|
||||
misc.getAvailablePort(fixedPort)
|
||||
|
|
Loading…
Reference in New Issue