Closes #386 - Disable phonebook on FFOS packaged
This commit is contained in:
parent
d8b8726fb1
commit
2776c73b47
@ -331,6 +331,7 @@ angular.module('myApp.services', [])
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isAvailable () {
|
function isAvailable () {
|
||||||
|
if (Config.Navigator.ffos && Config.Modes.packed) {
|
||||||
try {
|
try {
|
||||||
return navigator.mozContacts && navigator.mozContacts.getAll;
|
return navigator.mozContacts && navigator.mozContacts.getAll;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@ -338,6 +339,8 @@ angular.module('myApp.services', [])
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
function openPhonebookImport () {
|
function openPhonebookImport () {
|
||||||
return $modal.open({
|
return $modal.open({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user