@ -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("|");