(ems) template fixes

This commit is contained in:
radius 2016-09-17 15:19:34 -05:00
parent 29e354a3c6
commit ed326e0479

View File

@ -56,9 +56,9 @@ function cleanupStorage()
function dropboxInit() function dropboxInit()
{ {
document.getElementById('btnRun').disabled = true; document.getElementById('btnRun').disabled = true;
document.getElementById('btnDrop').disabled = true; //document.getElementById('btnDrop').disabled = true;
$('#icnDrop').removeClass('fa-dropbox'); //$('#icnDrop').removeClass('fa-dropbox');
$('#icnDrop').addClass('fa-spinner fa-spin'); //$('#icnDrop').addClass('fa-spinner fa-spin');
client.authDriver(new Dropbox.AuthDriver.Redirect()); client.authDriver(new Dropbox.AuthDriver.Redirect());
@ -75,8 +75,8 @@ function dropboxInit()
function dropboxSyncComplete() function dropboxSyncComplete()
{ {
document.getElementById('btnRun').disabled = false; document.getElementById('btnRun').disabled = false;
$('#icnDrop').removeClass('fa-spinner').removeClass('fa-spin'); //$('#icnDrop').removeClass('fa-spinner').removeClass('fa-spin');
$('#icnDrop').addClass('fa-check'); //$('#icnDrop').addClass('fa-check');
console.log("WEBPLAYER: Sync successful"); console.log("WEBPLAYER: Sync successful");
setupFileSystem("dropbox"); setupFileSystem("dropbox");
@ -170,7 +170,7 @@ function startRetroArch()
{ {
$('.webplayer').show(); $('.webplayer').show();
$('.webplayer-preview').hide(); $('.webplayer-preview').hide();
document.getElementById('btnDrop').disabled = true; //document.getElementById('btnDrop').disabled = true;
document.getElementById('btnRun').disabled = true; document.getElementById('btnRun').disabled = true;
$('#btnFullscreen').removeClass('disabled'); $('#btnFullscreen').removeClass('disabled');