Update repo.js
parent
082003ccd4
commit
2899545a86
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue