X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/572f5798d7d6d3e73cffe0bfabd6e85542fde43f..eb82d8f9e1a13678be84f554f73595b6c7902591:/skins/photo_film_viewer.js?ds=sidebyside diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js index 5ba1b5b..226e6dd 100644 --- a/skins/photo_film_viewer.js +++ b/skins/photo_film_viewer.js @@ -136,7 +136,8 @@ FilmSlider.prototype._checkSizeStability = function(evt) { } } clearInterval(this._checkSizeIntervalId); - delete this._barSizes, this._checkSizeIntervalId; + delete this._barSizes; + delete this._checkSizeIntervalId; }; FilmSlider.prototype.fitToScreen = function(evt) { @@ -603,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; }