diff --git a/src/favoritesController.js b/src/favoritesController.js index a5d497b05..798003faa 100644 --- a/src/favoritesController.js +++ b/src/favoritesController.js @@ -202,12 +202,12 @@ FavoritesController.prototype = { // import favorites $('body').on('click', '#import-favorites', function(e) { OC.dialogs.filepicker( - t('maps', 'Import favorites from gpx (OsmAnd, Nextcloud Maps) or kmz/kml (F-Droid Maps, Maps.me, Marble)'), + t('maps', 'Import favorites from GeoJSON, gpx (OsmAnd, Nextcloud Maps) or kmz/kml (F-Droid Maps, Maps.me, Marble)'), function(targetPath) { that.importFavorites(targetPath); }, false, - ['application/gpx+xml', 'application/vnd.google-earth.kmz', 'application/vnd.google-earth.kml+xml', 'application/json'], + ['application/gpx+xml', 'application/vnd.google-earth.kmz', 'application/vnd.google-earth.kml+xml', 'application/json', 'application/geo+json'], true ); });