this.hideNewRecordText(); this._newRecord.setAttribute('visibility','hidden'); if (this.observerViews==null) this.observerViews = new Array(); this.observerViews.push(obj); this._newRecord.setAttribute('visibility','visible'); this.onnew.sendEvent(); if (this.observerViews.length!=0){ new lz.contentSaveWindow(canvas.main_content._content.inner,{refObj:this,saveObj:this.observerViews}); } this.onreload.sendEvent(); new lz.confirmDeleteWindow(canvas.main_content._content.inner,{ refObj:this, messagelabelid:confirmMessageLabelId }); this.ondelete.sendEvent(); this.ontabcontentleave.sendEvent(); this.destroy();