Skip to content
Snippets Groups Projects
Commit ac4c2d6e authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Make use of correct logging library

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2796 44740490-163a-0410-bde0-09ae8108e29a
parent 6daf0ffe
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ DiscoJuice.Control = {
"locateMe": function() {
var that = this;
console.log('Locate me');
this.parent.Utils.log('Locate Me');
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
......@@ -159,7 +159,7 @@ DiscoJuice.Control = {
}
);
} else {
console.log('Did not find navigator.geolocation');
this.parent.Utils.log('Did not find navigator.geolocation');
}
},
......@@ -302,6 +302,7 @@ DiscoJuice.Control = {
// Setup an iframe to read discovery cookies from other domains
"discoReadSetup": function() {
var settings = this.parent.Utils.options.get('disco');
if (!settings) return;
var html = '';
......@@ -316,6 +317,8 @@ DiscoJuice.Control = {
for(i = 0; i < stores.length; i++) {
currentStore = stores[i];
this.parent.Utils.log('Setting up DisoJuice Read from Store [' + currentStore + ']');
iframeurl = currentStore + '?entityID=' + escape(spentityid) + '&isPassive=true&returnIDParam=entityID&return=' + escape(returnurl);
html = '<iframe src="' + iframeurl + '" style="display: none"></iframe>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment