commit f01aae80efc12779609d33bf1b6ba46eb4e55bc7
parent ccc4934b0201691d5b3a0c8aab95d0ec20dfb911
Author: Alexander Burger <abu@software-lab.de>
Date: Tue, 25 Jun 2013 13:50:23 +0200
Revert "Suppress update of currently modified input field"
Diffstat:
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/lib/form.js b/lib/form.js
@@ -1,4 +1,4 @@
-/* 23jun13abu
+/* 11may13abu
* (c) Software Lab. Alexander Burger
*/
@@ -8,7 +8,7 @@ FormReq.upload.addEventListener("load", dropLoad, false);
var Btn = [];
var Queue = [];
-var SesId, Key, InBtn, Auto, Chg, Drop, Hint, Hints, Item, Beg, End;
+var SesId, Key, InBtn, Auto, Drop, Hint, Hints, Item, Beg, End;
function inBtn(flg) {InBtn = flg;}
@@ -26,7 +26,6 @@ function formKey(event) {
}
function fldChg(field) {
- Chg = field;
if (!InBtn && Key != 13)
post(field.form, null, null);
return true;
@@ -129,10 +128,6 @@ function post(form, exe, file) {
}
if (!(fld = document.getElementById(fld)))
continue;
- if (fld == Chg) {
- Chg = null;
- continue;
- }
if (fld.tagName == "SPAN") {
if (i != txt.length && txt[i].charAt(0) == "=")
++i;