details:   /erp/stable/2.50/rev/05c4871d6346
changeset: 9219:05c4871d6346
user:      Adrián Romero <adrianromero <at> openbravo.com>
date:      Thu Feb 17 16:18:48 2011 +0100
summary:   Fixes issue 0015682: Inhomogeneous behavior when searching in Copy 
From Settlement
It has been added the code to refresh also the description button and it has 
been made the description field a little bit higher to make it look what it is: 
a multiline field

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html |  2 +-
 src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java |  1 +
 src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.xml  |  3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r deeee483784e -r 05c4871d6346 
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html       
Wed Feb 16 16:20:30 2011 +0100
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html       
Thu Feb 17 16:18:48 2011 +0100
@@ -339,7 +339,7 @@
             </tr>
             <tr> 
               <td class="TitleCell"><span 
class="LabelText">Description:</span></td>
-              <td class="TextBox_ContentCell" colspan="5"> <textarea 
class="dojoValidateValid TextArea_FiveCells_width" cols="70" rows="2" 
name="inpDescription" id="paramDescription" onclick="logChanges(this);return 
true;"></textarea></td>
+              <td class="TextBox_ContentCell" colspan="5"> <textarea 
class="dojoValidateValid TextArea_FiveCells_width TextArea_Medium_height" 
cols="70" rows="2" name="inpDescription" id="paramDescription" 
onclick="logChanges(this);return true;"></textarea></td>
             </tr>
             <tr><td style="height: 15px;"></td></tr>
             <tr>
diff -r deeee483784e -r 05c4871d6346 
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java       
Wed Feb 16 16:20:30 2011 +0100
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java       
Thu Feb 17 16:18:48 2011 +0100
@@ -257,6 +257,7 @@
     xmlDocument.setParameter("theme", vars.getTheme());
     xmlDocument.setParameter("paramSettlement", strSettlement);
     xmlDocument.setParameter("documentNo", strDocumentNo);
+    xmlDocument.setParameter("description", strSetDescription);
     xmlDocument.setData("structure", data);
     response.setContentType("text/html; charset=UTF-8");
     PrintWriter out = response.getWriter();
diff -r deeee483784e -r 05c4871d6346 
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.xml
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.xml        
Wed Feb 16 16:20:30 2011 +0100
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.xml        
Thu Feb 17 16:18:48 2011 +0100
@@ -40,7 +40,8 @@
   <PARAMETER id="paramSettlement" name="paramSettlement" attribute="value" 
default=""/>
   <PARAMETER id="paramSettlementFromId" name="paramSettlementFromId" 
attribute="value" default=""/>
   <PARAMETER id="paramSettlementId" name="paramSettlementId" attribute="value" 
default=""/>
-  <PARAMETER id="paramDocumentNo" name="documentNo" attribute="value" 
default=""/> 
+  <PARAMETER id="paramDocumentNo" name="documentNo" attribute="value" 
default=""/>
+  <PARAMETER id="paramDescription" name="description" default="" />
 
   <PARAMETER id="param2" name="param2" default="2"/>
 

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to