mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
- LSrelation : Correction du JS pour plus de robustesse
This commit is contained in:
parent
bcaf4df12b
commit
860f62e09c
1 changed files with 2 additions and 2 deletions
|
@ -46,9 +46,9 @@ var LSrelation = new Class({
|
||||||
},
|
},
|
||||||
|
|
||||||
deleteFromImg: function(img) {
|
deleteFromImg: function(img) {
|
||||||
var li = img.getParent();
|
var li = img.getParent('li');
|
||||||
var a = img.getPrevious('a');
|
var a = img.getPrevious('a');
|
||||||
var ul = li.getParent();
|
var ul = li.getParent('ul');
|
||||||
img.destroy();
|
img.destroy();
|
||||||
LSdebug(ul.id);
|
LSdebug(ul.id);
|
||||||
var getId = /LSrelation_ul_([0-9]*)/
|
var getId = /LSrelation_ul_([0-9]*)/
|
||||||
|
|
Loading…
Reference in a new issue