A few more qr code updates relating to VIVO-17

This commit is contained in:
Tim Worrall 2014-10-06 10:52:45 -04:00
parent 1c118fc044
commit 604a8d273f
6 changed files with 14 additions and 7 deletions

View file

@ -109,7 +109,7 @@ $(document).ready(function(){
// only create the img the first time, so check if it already exists
if ( !$('img#codeImage').length ) {
$.ajax({
url: "/vivo/qrCodeAjax",
url: baseUrl + "/qrCodeAjax",
dataType: "json",
data: {
action: "getQrCodeDetails",
@ -156,12 +156,15 @@ $(document).ready(function(){
+ "</a>";
$('#qrCodeImage').prepend(spanStr);
$('#qrCodeImage').toggleClass('hidden');
}
}
}
});
}
$('#qrCodeImage').toggleClass('hidden');
else {
$('#qrCodeImage').toggleClass('hidden');
}
});
// For pubs and grants on the foaf:person profile, and affiliated people