Update repo.js

master
Amir Torres 2014-11-10 20:02:05 -06:00
parent 082003ccd4
commit 2899545a86
1 changed files with 2 additions and 4 deletions

View File

@ -5,11 +5,9 @@ function install(){
switch(scop){ switch(scop){
case 'host': case 'host':
var request = window.navigator.mozApps.install(manifestUrl); var request = window.navigator.mozApps.install(manifestUrl);
var msgints = 'Installation successful!';
break; break;
case 'pack': case 'pack':
var request = navigator.mozApps.installPackage(manifestUrl,opt.data || {}); var request = navigator.mozApps.installPackage(manifestUrl);
var msgints = 'Installation in process!';
break; break;
} }
request.onsuccess = function () { request.onsuccess = function () {
@ -33,4 +31,4 @@ $(document).ready(function(){
} }
$("#repo").attr("placeholder", plhd); $("#repo").attr("placeholder", plhd);
}); });
}); });