Commit 157b25ae authored by Troy A. Griffitts's avatar Troy A. Griffitts

Fixed a few tap topBar bugs and added reInitSWORD after module load

parent 715b8b73
This diff is collapsed.
......@@ -47,6 +47,7 @@ var eusebian = {
});
},
buildEusebianData : function(renderData, callback) {
eusebian.lastEusNum = null;
// assert we have work to do
if (!renderData || !renderData.length || !renderData[0].length) return (callback) ? callback() : false;
......
......@@ -254,7 +254,11 @@ console.log('**** installMgr.installModule. disclaimer accepted. installing modu
else if (e.status == "complete") {
// only refesh source list if no subsequent processing callback
if (callback) callback();
else installMgr.modSourceChanged();
else {
app.reInitSWORD(function() {
installMgr.modSourceChanged();
});
}
}
});
});
......@@ -318,6 +322,7 @@ console.log('**** installMgr.installModule. disclaimer accepted. installing modu
installMgr.showModules(modInfoList, 'No Modules Installed', false, function() {
return (callback) ? callback() : false;
});
return;
}
SWORD.mgr.getModuleByName(modInfoList[i].name, function(mod) {
mod.getConfigEntry('Description_'+app.getAppLocale(), function(descLocale) {
......@@ -336,6 +341,7 @@ console.log('**** installMgr.installModule. disclaimer accepted. installing modu
installMgr.showModules(modInfoList, 'No Modules Available. Try pressing the [↻] button.', true, function() {
return (callback) ? callback() : false;
});
return;
}
SWORD.installMgr.getRemoteModuleByName(sourceName, modInfoList[i].name, function(mod) {
mod.getConfigEntry('Description_'+app.getAppLocale(), function(descLocale) {
......
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