# HG changeset patch
# User Ranjith S R <ranjith@qualiantech.com>
# Date 1491567912 -19800
#      Fri Apr 07 17:55:12 2017 +0530
# Node ID ee97f51a44fa75042e3bcc86ebfc8a403edfaa19
# Parent  edfcb9077a2b2daa9b08777c9eb80fedf8d1abf9
Related to issue 35661 : Scanning Focus set to true in Search tab, if "Use External Input" is enabled

diff -r edfcb9077a2b -r ee97f51a44fa web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js
--- a/web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js	Fri Apr 07 16:14:38 2017 +0530
+++ b/web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js	Fri Apr 07 17:55:12 2017 +0530
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2012-2016 Openbravo S.L.U.
+ * Copyright (C) 2012-2017 Openbravo S.L.U.
  * Licensed under the Openbravo Commercial License version 1.0
  * You may obtain a copy of the License at http://www.openbravo.com/legal/obcl.html
  * or in the legal folder of this module distribution.
@@ -403,6 +403,7 @@
         keyboard: false,
         edit: false
       });
+      OB.MobileApp.view.scanningFocus(true);
     }
   },
   initComponents: function () {
