"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/management/js/fog/fog.login.js" between
fogproject-1.5.7.tar.gz and fogproject-1.5.8.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

fog.login.js  (fogproject-1.5.7):fog.login.js  (fogproject-1.5.8)
skipping to change at line 36 skipping to change at line 36
stable = 'Error contacting server'; stable = 'Error contacting server';
} else { } else {
stable = version.stable; stable = version.stable;
} }
if (typeof(version.dev) == 'undefined' if (typeof(version.dev) == 'undefined'
|| !version.dev) { || !version.dev) {
dev = 'Error contacting server'; dev = 'Error contacting server';
} else { } else {
dev = version.dev; dev = version.dev;
} }
if (typeof(version.svn) == 'undefined'
|| !version.svn) {
svn = 'Error contacting server';
} else {
svn = version.svn;
}
ResultContainers.each(function(ind,val) { ResultContainers.each(function(ind,val) {
if (ind === 0) { if (ind === 0) {
$(this).html(sites); $(this).html(sites);
} else { } else {
if (ind === 1) $(this).html(stable); if (ind === 1) $(this).html(stable);
if (ind === 2) $(this).html(dev); if (ind === 2) $(this).html(dev);
if (ind === 3) $(this).html(svn);
} }
}); });
}, },
error: function() { error: function() {
ResultContainers.find('span').removeClass().addClass('icon icon-kill ').attr('title', 'Failed to connect!'); ResultContainers.find('span').removeClass().addClass('icon icon-kill ').attr('title', 'Failed to connect!');
} }
}); });
$('#username').select().focus(); $('#username').select().focus();
})(jQuery); })(jQuery);
 End of changes. 2 change blocks. 
7 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)