# HG changeset patch
# User Ranjith S R <ranjith@qualiantech.com>
# Date 1451387443 -19800
# Node ID 3f197990769e76a99a98d980390902e0bf2cef68
# Parent  d66464f1df978d21ecfa9f5461c68b9ae8bc3b9c
Related to issue 31784 : Validate editbox on backspace

diff --git a/web/org.openbravo.mobile.core/source/component/ob-keyboard.js b/web/org.openbravo.mobile.core/source/component/ob-keyboard.js
--- a/web/org.openbravo.mobile.core/source/component/ob-keyboard.js
+++ b/web/org.openbravo.mobile.core/source/component/ob-keyboard.js
@@ -496,6 +496,7 @@
       }
     }
     this.$.editbox.adjustFontSize();
+    document.getElementById('_focusKeeper').value = this.$.editbox.getContent();
   },
 
   setStatus: function (newstatus) {
