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 () {
|
||||||
|
|
Loading…
Reference in New Issue