LSview/JS : Added a test to avoid possible errors

This commit is contained in:
Benjamin Renard 2009-10-25 23:21:09 +00:00
parent 5a17d79681
commit 301ae79b38

View file

@ -43,7 +43,8 @@ var LSview = new Class({
}, },
onTdLSobjectListNamesOut: function(td) { onTdLSobjectListNamesOut: function(td) {
td.imgEdit.destroy(); if(td.imgEdit)
td.imgEdit.destroy();
}, },
onRemoveListBtnClick: function(event,a) { onRemoveListBtnClick: function(event,a) {