From 2899545a862d75e5c6d6ac61899e98ad94d6a8e8 Mon Sep 17 00:00:00 2001 From: Amir Torres Date: Mon, 10 Nov 2014 20:02:05 -0600 Subject: [PATCH] Update repo.js --- content/js/repo.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 +});