LSP - allow for .exe in protocol dependencies
This commit is contained in:
parent
f011de6fb9
commit
9140994aca
2 changed files with 10 additions and 1 deletions
4
lsp/.directory
Normal file
4
lsp/.directory
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[Dolphin]
|
||||||
|
Timestamp=2015,4,10,12,58,21
|
||||||
|
Version=3
|
||||||
|
ViewMode=1
|
|
@ -2129,6 +2129,10 @@ var UI = {
|
||||||
|
|
||||||
var editing = false;
|
var editing = false;
|
||||||
if ((other != '') && (other >= 0)) { editing = true; }
|
if ((other != '') && (other >= 0)) { editing = true; }
|
||||||
|
var current = {};
|
||||||
|
for (var i in mist.data.config.protocols) {
|
||||||
|
current[mist.data.config.protocols[i].connector] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
function buildProtocolSettings(kind) {
|
function buildProtocolSettings(kind) {
|
||||||
var input = mist.data.capabilities.connectors[kind];
|
var input = mist.data.capabilities.connectors[kind];
|
||||||
|
@ -2179,7 +2183,8 @@ var UI = {
|
||||||
for (var i in input.deps) {
|
for (var i in input.deps) {
|
||||||
var $li = $('<li>').text(input.deps[i]+' ');
|
var $li = $('<li>').text(input.deps[i]+' ');
|
||||||
$ul.append($li);
|
$ul.append($li);
|
||||||
if (typeof current[input.deps[i]] != 'undefined') {
|
if ((typeof current[input.deps[i]] != 'undefined') || (typeof current[input.deps[i]+'.exe'] != 'undefined')) {
|
||||||
|
//also check for the windows executable
|
||||||
$li.append(
|
$li.append(
|
||||||
$('<span>').addClass('green').text('(Configured)')
|
$('<span>').addClass('green').text('(Configured)')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue