Commit 5a572574 authored by Troy A. Griffitts's avatar Troy A. Griffitts

added checks to skip CrossWire Beta and Attic repos when checking for updates

parent 518c83d8
......@@ -313,15 +313,17 @@ console.log('**** installMgr.installModule. disclaimer accepted. installing modu
return;
}
SWORD.installMgr.getRemoteModInfoList(srcs[i], function(sourceMods) {
for (var l = 0; l < sourceMods.length; ++l) {
if (sourceMods[l].delta == '+') {
++count;
t += '<tr class="row'+((count%2)?'odd':'even')+'" onclick="installMgr.modSelected(this);return false;">';
t += '<td class="instDelta">'+sourceMods[l].delta+'</td>';
t += '<td class="instName">'+sourceMods[l].name+'</td>';
t += '<td class="instDesc">'+sourceMods[l].description+'</td>';
t += '<td style="display:none;" class="sourceName">'+srcs[i]+'</td>';
t += '</tr>';
if (srcs[i] != 'CrossWire Beta' && srcs[i] != 'CrossWire Attic') {
for (var l = 0; l < sourceMods.length; ++l) {
if (sourceMods[l].delta == '+') {
++count;
t += '<tr class="row'+((count%2)?'odd':'even')+'" onclick="installMgr.modSelected(this);return false;">';
t += '<td class="instDelta">'+sourceMods[l].delta+'</td>';
t += '<td class="instName">'+sourceMods[l].name+'</td>';
t += '<td class="instDesc">'+sourceMods[l].description+'</td>';
t += '<td style="display:none;" class="sourceName">'+srcs[i]+'</td>';
t += '</tr>';
}
}
}
sourcesLoop(srcs, ++i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment