From 8a21bc9a04944e8f451a40712aa49862df59e7df Mon Sep 17 00:00:00 2001 From: sunil Date: Wed, 16 Oct 2024 22:10:09 +0100 Subject: [PATCH] #166 fixed --- js/pages/solmosaic.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/pages/solmosaic.js b/js/pages/solmosaic.js index 1382e95..bf1bb71 100644 --- a/js/pages/solmosaic.js +++ b/js/pages/solmosaic.js @@ -11,7 +11,7 @@ For licenses that allow for commercial use please contact cluck@chickenkatsu.co. **************************************************************************/ 'use strict' -/*global cAppSolButtons,cSolMosaicPageConstants*/ +/*global cAppSolButtons cSolMosaicPageConstants cRender*/ //eslint-disable-next-line no-unused-vars class cSolMosaic { static current_sol = null @@ -71,11 +71,14 @@ class cSolMosaic { const oData = poHttp.response if (oData.mos == null) { - oDiv.append(cRender.messagebox('unable to create highlight')) + oDiv.append(cRender.messagebox('unable to create mosaic')) return } - const sImgUrl = cBrowser.buildUrl(cAppLocations.mosaicer, oData) + const oParams = {} + oParams[cAppUrlParams.MOSAIC_PARAM] = oData[cAppUrlParams.MOSAIC_PARAM] + + const sImgUrl = cBrowser.buildUrl(cAppLocations.mosaicer, oParams) const oImg = $('', { src: sImgUrl, class: 'image' }) const oThis = this oImg.click(() => oThis.onClickMosaic(oData))