- LSrelation : Correction du JS pour plus de robustesse

This commit is contained in:
Benjamin Renard 2008-10-27 15:37:45 +00:00
parent bcaf4df12b
commit 860f62e09c

View file

@ -46,9 +46,9 @@ var LSrelation = new Class({
},
deleteFromImg: function(img) {
var li = img.getParent();
var li = img.getParent('li');
var a = img.getPrevious('a');
var ul = li.getParent();
var ul = li.getParent('ul');
img.destroy();
LSdebug(ul.id);
var getId = /LSrelation_ul_([0-9]*)/