Make changes asked by breunigs

This commit is contained in:
Axel Wagner 2013-02-25 17:55:37 +01:00
parent 107f4689e9
commit 0767230489
2 changed files with 2 additions and 3 deletions

View File

@ -98,10 +98,10 @@ window.rangeLinkClick = function() {
window.showPortalPosLinks = function(lat, lng) { window.showPortalPosLinks = function(lat, lng) {
var qrcode = '<div id="qrcode"></div>'; var qrcode = '<div id="qrcode"></div>';
var script = '<script>$("#qrcode").qrcode({text:"GEO:'+lat+','+lng+'"});</script>'; var script = '<script>$(\'#qrcode\').qrcode({text:\'GEO:'+lat+','+lng+'\'});</script>';
var gmaps = '<a href="https://maps.google.com/?q='+lat+','+lng+'">gmaps</a>'; var gmaps = '<a href="https://maps.google.com/?q='+lat+','+lng+'">gmaps</a>';
var osm = '<a href="http://www.openstreetmap.org/?mlat='+lat+'&mlon='+lng+'&zoom=16">OSM</a>'; var osm = '<a href="http://www.openstreetmap.org/?mlat='+lat+'&mlon='+lng+'&zoom=16">OSM</a>';
alert(qrcode + script + gmaps + " " + osm); alert('<div style="text-align: center;">' + qrcode + script + gmaps + ' ' + osm + '</div>');
} }
window.reportPortalIssue = function(info) { window.reportPortalIssue = function(info) {

View File

@ -686,7 +686,6 @@ aside {
overflow-x: hidden; overflow-x: hidden;
max-height: 600px !important; max-height: 600px !important;
max-width: 700px !important; max-width: 700px !important;
text-align: center;
} }
.ui-dialog a { .ui-dialog a {