Changes in company database - removed custom fields, added
[fa-stable.git] / js / inserts.js
index 8bc0a497248668c1cbafe89cf9683fc547d22079..7450c199d40c670e42b3fa8e04632f755d515883 100644 (file)
@@ -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;
                        }
                }