X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/blobdiff_plain/e747d406c2b625e3bc7f91c0837315fc00f807f5..7d0f2b9c38dab180029f3b7faf3d8bd08bc83a51:/skins/photo_film_viewer.js diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js index ddd73e1..226e6dd 100644 --- a/skins/photo_film_viewer.js +++ b/skins/photo_film_viewer.js @@ -604,13 +604,13 @@ FilmSlider.prototype.populateViewer = function(req) { break; case 'imageattributes' : var link = this.buttons.back_to_portfolio.parentNode; - link.href = element.getAttribute('backToContextUrl'); + link.href = element.getAttribute('back_to_context_url'); link = this.buttons.show_buyable.parentNode; var buyable = element.getAttribute('buyable'); if(buyable === 'True') { link.className = null; } else if(buyable === 'False') { link.className = 'hidden'; } this.image.alt = element.getAttribute('alt'); - this.updateBreadcrumbs(element.getAttribute('lastBcUrl'), + this.updateBreadcrumbs(element.getAttribute('last_bc_url'), element.getAttribute('img_id')); break; }