X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=js%2Finserts.js;h=7450c199d40c670e42b3fa8e04632f755d515883;hb=5db6030e4d0126be8883347574111be381478256;hp=cf2e348d5fd74da30a4ce134f9066790af0e851e;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/js/inserts.js b/js/inserts.js index cf2e348d..7450c199 100644 --- a/js/inserts.js +++ b/js/inserts.js @@ -1,17 +1,17 @@ /********************************************************************** Copyright (C) FrontAccounting, LLC. - Released under the terms of the GNU Affero General Public License, - AGPL, as published by the Free Software Foundation, either version - 3 of the License, or (at your option) any later version. + Released under the terms of the GNU General Public License, GPL, + as published by the Free Software Foundation, either version 3 + of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the License here . + See the License here . ***********************************************************************/ var _focus; var _hotkeys = { 'alt': false, // whether is the Alt key pressed - 'focus': -1 // currently selected indeks of document.links + 'focus': -1 // currently selected indeks of document.links }; function debug(msg) { @@ -172,7 +172,13 @@ var inserts = { if((ev.ctrlKey && key == 13) || key == 27) { ev.cancelBubble = true; if(ev.stopPropagation) ev.stopPropagation(); -// here ctrl-enter/escape support + // activate submit/escape form + for (var i=0; i