Browse Source

Closes #386 - Disable phonebook on FFOS packaged

master
Igor Zhukov 10 years ago
parent
commit
2776c73b47
  1. 3
      app/js/services.js

3
app/js/services.js

@ -331,6 +331,7 @@ angular.module('myApp.services', []) @@ -331,6 +331,7 @@ angular.module('myApp.services', [])
}
function isAvailable () {
if (Config.Navigator.ffos && Config.Modes.packed) {
try {
return navigator.mozContacts && navigator.mozContacts.getAll;
} catch (e) {
@ -338,6 +339,8 @@ angular.module('myApp.services', []) @@ -338,6 +339,8 @@ angular.module('myApp.services', [])
return false;
}
}
return false;
}
function openPhonebookImport () {
return $modal.open({

Loading…
Cancel
Save