diff --git a/content/js/repo.js b/content/js/repo.js index 925ea4d..7a0d18d 100644 --- a/content/js/repo.js +++ b/content/js/repo.js @@ -5,11 +5,9 @@ function install(){ switch(scop){ case 'host': var request = window.navigator.mozApps.install(manifestUrl); - var msgints = 'Installation successful!'; break; case 'pack': - var request = navigator.mozApps.installPackage(manifestUrl,opt.data || {}); - var msgints = 'Installation in process!'; + var request = navigator.mozApps.installPackage(manifestUrl); break; } request.onsuccess = function () { @@ -33,4 +31,4 @@ $(document).ready(function(){ } $("#repo").attr("placeholder", plhd); }); -}); \ No newline at end of file +});