added query to new portal search intent

This commit is contained in:
Philipp Schaefer
2013-04-27 00:47:49 +02:00
parent a208ba9083
commit 28da9e1746
2 changed files with 3 additions and 4 deletions

View File

@ -136,7 +136,7 @@ window.showPortalPosLinks = function(lat, lng, name) {
portal_name = encodeURIComponent(' (' + name + ')');
}
if (typeof android !== 'undefined' && android && android.intentPosLink) {
android.intentPosLink(lat, lng);
android.intentPosLink(lat, lng, portal_name);
} else {
var qrcode = '<div id="qrcode"></div>';
var script = '<script>$(\'#qrcode\').qrcode({text:\'GEO:'+lat+','+lng+'\'});</script>';