if (this.makeModal) {
lz.ModeManager.makeModal(this);
}
if (this.makeModal) {
lz.ModeManager.releaseAll();
}
this.errorlabelid = errorlabelid;
this.setAttribute("error",canvas.getLabelName(this.errorlabelid));
if ($debug) Debug.write("labelerrorPopup: ",canvas.getLabelName(this.errorlabelid));
lz.singletonErrorPopupHolder.dialogPresent = 1;
lz.singletonErrorPopupHolder.dialogObject = this;
lz.singletonErrorPopupHolder.dialogPresent = 0;
lz.singletonErrorPopupHolder.dialogObject = null;
if ( lz.singletonErrorPopupHolder.dialogPresent == 0 )
{
lz.singletonErrorPopupHolder.dialogPresent = 1;
lz.singletonErrorPopupHolder.dialogObject = new lz.singletonErrorPopup(canvas,{error:error});
}
else
{
lz.singletonErrorPopupHolder.dialogObject.error = error;
}