mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSview : Remove onMouseOver icon
This commit is contained in:
parent
3f67942606
commit
b66cca5ae5
1 changed files with 0 additions and 17 deletions
|
@ -12,12 +12,6 @@ var LSview = new Class({
|
||||||
$$('td.LSobject-list-names').each(function(el) {
|
$$('td.LSobject-list-names').each(function(el) {
|
||||||
el.addEvent('click',this.onTdLSobjectListNamesClick.bind(this,el));
|
el.addEvent('click',this.onTdLSobjectListNamesClick.bind(this,el));
|
||||||
}, this);
|
}, this);
|
||||||
$$('td.LSobject-list-names').each(function(el) {
|
|
||||||
el.addEvent('mouseenter',this.onTdLSobjectListNamesOver.bind(this,el));
|
|
||||||
}, this);
|
|
||||||
$$('td.LSobject-list-names').each(function(el) {
|
|
||||||
el.addEvent('mouseleave',this.onTdLSobjectListNamesOut.bind(this,el));
|
|
||||||
}, this);
|
|
||||||
$$('a.LSobject-list-actions').each(function(el) {
|
$$('a.LSobject-list-actions').each(function(el) {
|
||||||
var checkRemove = /remove\.php.*/;
|
var checkRemove = /remove\.php.*/;
|
||||||
if (checkRemove.exec(el.href)) {
|
if (checkRemove.exec(el.href)) {
|
||||||
|
@ -51,17 +45,6 @@ var LSview = new Class({
|
||||||
window.location=td.getFirst().href;
|
window.location=td.getFirst().href;
|
||||||
},
|
},
|
||||||
|
|
||||||
onTdLSobjectListNamesOver: function(td){
|
|
||||||
td.imgEdit = new Element('img');
|
|
||||||
td.imgEdit.src = varLSdefault.imagePath('view');
|
|
||||||
td.imgEdit.injectInside(td);
|
|
||||||
},
|
|
||||||
|
|
||||||
onTdLSobjectListNamesOut: function(td) {
|
|
||||||
if(td.imgEdit)
|
|
||||||
td.imgEdit.destroy();
|
|
||||||
},
|
|
||||||
|
|
||||||
onRemoveListBtnClick: function(event,a) {
|
onRemoveListBtnClick: function(event,a) {
|
||||||
Event(event).stop();
|
Event(event).stop();
|
||||||
if (!this._confirmBoxOpen) {
|
if (!this._confirmBoxOpen) {
|
||||||
|
|
Loading…
Reference in a new issue