From: Janusz Dobrowolski Date: Tue, 17 Mar 2009 09:44:57 +0000 (+0000) Subject: Onmouseover focus set only on links with id. X-Git-Tag: v2.4.2~19^2~1478 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=eb38972415088c3aecea0a9eb2a13c1cb76db8e0;p=fa-stable.git Onmouseover focus set only on links with id. --- diff --git a/js/inserts.js b/js/inserts.js index 8bc0a497..7450c199 100644 --- a/js/inserts.js +++ b/js/inserts.js @@ -274,7 +274,7 @@ var inserts = { save_focus(this); }; e.onmouseover = function(e) { - setFocus(this.id, 1); + if (this.id) setFocus(this.id, 1); return false; } }