Left Update Manager for later

This commit is contained in:
Mahdi Dibaiee 2014-02-10 15:42:30 +03:30
parent 6501190692
commit 9668f8c790

View File

@ -87,9 +87,9 @@ $(document).ready(function() {
window.load = load; window.load = load;
window.save = save; window.save = save;
// Check for Update // TODO: Check for Update
var request = navigator.mozApps.getInstalled(); /*var request = navigator.mozApps.getInstalled();
request.onsuccess = function() { request.onsuccess = function() {
var app = this.result[0]; var app = this.result[0];
var latest = $.ajax({url:'manifest-web.webapp'}); var latest = $.ajax({url:'manifest-web.webapp'});
@ -128,7 +128,7 @@ $(document).ready(function() {
} }
request.onerror = function() { request.onerror = function() {
alert('An error occured while trying to check for updates'); alert('An error occured while trying to check for updates');
} }*/