-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sunil
committed
Oct 16, 2024
1 parent
f52fe51
commit 8a21bc9
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ For licenses that allow for commercial use please contact [email protected]. | |
**************************************************************************/ | ||
'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 = $('<img>', { src: sImgUrl, class: 'image' }) | ||
const oThis = this | ||
oImg.click(() => oThis.onClickMosaic(oData)) | ||
|