Commit 7968f2f6 authored by Troy A. Griffitts's avatar Troy A. Griffitts

Added wait screen when loading publisher mod list

parent 24f99a47
var app = {
version: '1.4.0', // change version here and in config.xml, near top
version: '1.4.1', // change version here and in config.xml, near top
backFunction: null,
enableBibleSync : true,
enableGospelParallels : true,
......
......@@ -28,6 +28,9 @@ var installMgr = {
},
showModules: function(modInfoList, noneMessage, details, callback) {
$('#client').html('<h2 data-english="Please wait...">Please wait...</h2>');
app.setAppLocale(false, function() {
setTimeout(function() {
modInfoList.sort(function(o1, o2) {
var language1 = o1.language == app.getAppLocale() ? '0' : o1.language;
var language2 = o2.language == app.getAppLocale() ? '0' : o2.language;
......@@ -107,7 +110,9 @@ var installMgr = {
$('#client').scrollTop(installMgr.lastScrollTop);
installMgr.lastScrollTop = 0;
return (callback) ? callback() : false;
}, 200);
}, 20);
});
}, 20);
});
},
setCipher: function(modName, cipher, callback) {
......@@ -356,7 +361,7 @@ console.log('**** installMgr.installModule. disclaimer accepted. installing modu
setTimeout(function() {
$('#client').scrollTop(0);
}, 200);
}, 20);
return;
}
SWORD.installMgr.getRemoteModInfoList(srcs[i], function(sourceMods) {
......
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