diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index 76745c8e..9a71be57 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -256,7 +256,8 @@ function fn_photoMask(flag, element){ $("div[data-ref='"+dataset.crdnPhotoId+"']").remove(); - if(dataset.mosaic != null && dataset.mosaic != "" + if(dataset.crdnPhotoId != null && dataset.crdnPhotoId != "" + && dataset.mosaic != null && dataset.mosaic != "" && flag){ var mosaicInfoArr = dataset.mosaic.split("|");