* Fix bug that would cause modal dialogs to not show up (modal dialogs aren't draggables)

* Fix issue that broke portal poslinks on mobile
This commit is contained in:
Morgan Jones
2013-05-11 16:33:30 -06:00
parent 553ecdc61e
commit 99bbcbcb30
2 changed files with 6 additions and 6 deletions

View File

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