details:   /erp/stable/2.50/rev/3238ef00f767
changeset: 9333:3238ef00f767
user:      Egoitz Castillo <egoitz.castillo <at> openbravo.com>
date:      Fri Apr 01 18:11:32 2011 +0200
summary:   Fixes issue 0015583: Ctrl + Intro does not work in the BP selector

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html |  36 
+++++-----
 1 files changed, 18 insertions(+), 18 deletions(-)

diffs (53 lines):

diff -r 944b0da4c10e -r 3238ef00f767 
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html       
Fri Apr 01 18:05:39 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html       
Fri Apr 01 18:11:32 2011 +0200
@@ -77,8 +77,8 @@
                for(var i=0; i < listInputs.length; i++){
                        if(listInputs[i].id == 'BpartnerId'){
                                var name  = listInputs[i].name;
-                               var id = 
name.substring("inpcBPartnerId".length, name.length);
-                               keyArray[keyArray.length] = new 
keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 
'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId"+id+"', 
'inpcBpartnerId_D"+id+"', document.frmMain.inpcBpartnerId_D"+id+".value, 
'Command', 'KEY');", "inpcBpartnerId_D"+id+"", "null");
+                               var id = 
name.substring("inpcBpartnerId".length, name.length);
+                                keyArray[keyArray.length] = new 
keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 
'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId"+id+"', 
'inpcBpartnerId_D"+id+"', document.frmMain.inpcBpartnerId_D"+id+".value, 
'Command', 'KEY');", "inpcBpartnerId_D"+id+"", "null");
                        }
                }
        }
@@ -426,22 +426,22 @@
                       <tr class="DataGrid_Body_Row_yy" id="funcEvenOddRow2"> 
                         <td class="DataGrid_Body_Cell">
                           <table border="0" cellspacing="0" cellpadding="0" 
summary=""  style="padding-top: 0px;">
-                            <tr>
-                              <td>
-                                <input type="hidden" name="inpcBpartnerIdxx" 
id="BpartnerId" value=""></input> 
-                                <input class="dojoValidateValid 
TextBox_btn_OneCell_width" type="text"  name="inpcBpartnerId_Dxx" size="13" 
maxlength="100" value="" id="fieldBpartnerdescription"></input>
-                              </td>
-                              <td class="FieldButton_ContentCell">
-                                <a class="FieldButtonLink" href="#" 
onfocus="setWindowElementFocus(this); window.status='Business Partner'; return 
true;" onblur="window.status=''; return true;" 
onkeypress="this.className='FieldButtonLink_active'; return true;" 
onkeyup="this.className='FieldButtonLink_focus'; return true;" 
onclick="openSearch(null, null, '../info/BusinessPartner.html', 
'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerIdxx', 
'inpcBpartnerId_Dyy', document.frmMain.inpcBpartnerId_Dzz.value);return false;" 
id="fieldRefButtonBPartner">
-                                 <table class="FieldButton" 
onmouseout="this.className='FieldButton';window.status='';return true;" 
onmouseover="this.className='FieldButton_hover';window.status='Business 
Partner';return true;" onmousedown="this.className='FieldButton_active';return 
true;" onmouseup="this.className='FieldButton';return true;">
-                                   <tr>
-                                      <td class="FieldButton_bg">
-                                        <img id="buttonBusinessPartner" 
alt="Business Partner" class="FieldButton_Icon 
FieldButton_Icon_BusinessPartner" title="Business Partner" 
src="../../../../../web/images/blank.gif" border="0"></img>
-                                      </td>
-                                    </tr>
-                                  </table>
-                                </a>
-                              </td>
+                           <tr>
+                             <td class="TextBox_ContentCell">
+                               <input type="hidden" name="inpcBpartnerIdxx"  
id="BpartnerId" value=""></input>
+                               <input class="dojoValidateValid 
TextBox_btn_OneCells_width" type="text"  name="inpcBpartnerId_Dxx" size ="13" 
maxlength="100" value="" id="fieldBpartnerdescription"></input>
+                             </td>
+                             <td class="FieldButton_ContentCell">
+                               <a class="FieldButtonLink" href="#" 
onfocus="setWindowElementFocus(this); window.status='Locator'; return true;" 
onblur="window.status=''; return true;" 
onkeypress="this.className='FieldButtonLink_active'; return true;" 
onkeyup="this.className='FieldButtonLink_focus'; return true;"  
onclick="openSearch(null, null, '../info/BusinessPartner.html', null, false, 
'frmMain', 'inpcBpartnerIdxx', 'inpcBpartnerId_Dyy', 
document.frmMain.inpcBpartnerId_Dzz.value, 'WindowID', '168');return false;" 
id="fieldRefButtonBPartner">
+                               <table class="FieldButton" 
onmouseout="this.className='FieldButton';window.status='';return true;" 
onmouseover="this.className='FieldButton_hover';window.status='Locator';return 
true;" onmousedown="this.className='FieldButton_active';return true;" 
onmouseup="this.className='FieldButton';return true;">
+                                 <tr>
+                                   <td class="FieldButton_bg">
+                                     <img alt="Business Partner" 
class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business 
Partner" src="../../../../../web/images/blank.gif" border="0"></img>
+                                   </td>
+                                 </tr>
+                               </table>
+                               </a>
+                             </td>
                             </tr>
                           </table>
                         </td>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to