From b66cca5ae5ba6951254877d6661b9ecf0e9b4311 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 2 Oct 2014 18:14:01 +0200 Subject: [PATCH] LSview : Remove onMouseOver icon --- public_html/includes/js/LSview.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/public_html/includes/js/LSview.js b/public_html/includes/js/LSview.js index 38bd4b4a..6b06dee5 100644 --- a/public_html/includes/js/LSview.js +++ b/public_html/includes/js/LSview.js @@ -12,12 +12,6 @@ var LSview = new Class({ $$('td.LSobject-list-names').each(function(el) { el.addEvent('click',this.onTdLSobjectListNamesClick.bind(this,el)); }, 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) { var checkRemove = /remove\.php.*/; if (checkRemove.exec(el.href)) { @@ -51,17 +45,6 @@ var LSview = new Class({ 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) { Event(event).stop(); if (!this._confirmBoxOpen) {