Bug Fix [ 1950999 ] Some selectors in selectors don't work 'Enter' action
authorGorka Gil <gorka.gil@openbravo.com>
Mon, 05 May 2008 16:25:48 +0000
changeset 803 1970d20ab407
parent 802 1fc1f78b1520
child 804 1ab2c792993a
Bug Fix [ 1950999 ] Some selectors in selectors don't work 'Enter' action
src/org/openbravo/erpCommon/info/DebtPayment.html
src/org/openbravo/erpCommon/info/InvoiceLine.html
src/org/openbravo/erpCommon/info/Project.html
src/org/openbravo/erpCommon/info/SalesOrder.html
src/org/openbravo/erpCommon/info/SalesOrderLine.html
src/org/openbravo/erpCommon/info/ShipmentReceiptLine.html
--- a/src/org/openbravo/erpCommon/info/DebtPayment.html	Mon May 05 14:20:41 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/DebtPayment.html	Mon May 05 16:25:48 2008 +0000
@@ -75,7 +75,7 @@
 <script language="JavaScript" type="text/javascript">
 function onloadFunctions() {
 	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmEfecto', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmEfecto.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
-	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");	
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'Product.html', 'SELECTOR_PRODUCT', false, 'frmEfecto', 'inpmProductId', 'inpmProductId_DES', document.frmEfecto.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
 }
 </script>
 <script language="JavaScript" type="text/javascript">
--- a/src/org/openbravo/erpCommon/info/InvoiceLine.html	Mon May 05 14:20:41 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/InvoiceLine.html	Mon May 05 16:25:48 2008 +0000
@@ -74,6 +74,7 @@
 <script language="JavaScript" type="text/javascript">
 function onloadFunctions() {
 	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmInvoice', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmInvoice.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'Product.html', 'SELECTOR_PRODUCT', false, 'frmInvoice', 'inpmProductId', 'inpmProductId_DES', document.frmInvoice.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
 }
 </script>
 <script language="JavaScript" type="text/javascript">
--- a/src/org/openbravo/erpCommon/info/Project.html	Mon May 05 14:20:41 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/Project.html	Mon May 05 16:25:48 2008 +0000
@@ -53,7 +53,6 @@
   }
 function onloadFunctions(){
 	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'BPARTNER_SELECTOR', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value, 'Command', 'KEY', 'WindowID', document.frmSelector.inpWindowId.value);", "inpBpartnerId_DES", "null");
-	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm(\'FIND\', true);", null, "ctrlKey");
 }
 </script>
 <script type="text/javascript">    
--- a/src/org/openbravo/erpCommon/info/SalesOrder.html	Mon May 05 14:20:41 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/SalesOrder.html	Mon May 05 16:25:48 2008 +0000
@@ -59,6 +59,12 @@
     return true;
   }
 </script>
+<SCRIPT language="JavaScript" type="text/javascript">
+	function onloadFunctions(){
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'BusinessPartner.html', 'BPARTNER_SELECTOR', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
+}
+</SCRIPT>
+
 <script type="text/javascript">    
   function depurarSelector(action) {
   	var pos; var keys;  var clave; var texto; var parameter;
--- a/src/org/openbravo/erpCommon/info/SalesOrderLine.html	Mon May 05 14:20:41 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/SalesOrderLine.html	Mon May 05 16:25:48 2008 +0000
@@ -64,6 +64,13 @@
     return true;
   }
 </script>
+<SCRIPT language="JavaScript" type="text/javascript">
+	function onloadFunctions(){
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'BPARTNER_SELECTOR', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/Product.html', 'SELECTOR_PRODUCT', false, 'frmSelector', 'inpmProductId', 'inpmProductId_DES', document.frmSelector.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
+}
+</SCRIPT>
+
 <script type="text/javascript">    
   function depurarSelector(action) {
   	var pos; var keys;  var clave; var texto; var parameter;
--- a/src/org/openbravo/erpCommon/info/ShipmentReceiptLine.html	Mon May 05 14:20:41 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/ShipmentReceiptLine.html	Mon May 05 16:25:48 2008 +0000
@@ -48,6 +48,13 @@
 <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</script>
 <script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script>
 
+<SCRIPT language="JavaScript" type="text/javascript">
+	function onloadFunctions(){
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'BPARTNER_SELECTOR', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/Product.html', 'SELECTOR_PRODUCT', false, 'frmSelector', 'inpmProductId', 'inpmProductId_DES', document.frmSelector.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
+}
+</SCRIPT>
+
 <script language="JavaScript" type="text/javascript">
   function depurar() {
     var frm = document.frmSelector;