details:   https://code.openbravo.com/erp/devel/pi/rev/bbad7f679ccb
changeset: 22812:bbad7f679ccb
user:      Guillermo Gil <guillermo.gil <at> openbravo.com>
date:      Tue Apr 01 15:01:42 2014 +0200
summary:   Fixed issue 26013: Rich Text Field is not displayed properly when 
colspan is 1

Smartclient sets colSpan by default to fill a whole row, this would not allow 
to set the colSpan as 1

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js
 |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r c0811054ce65 -r bbad7f679ccb 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js
    Tue Apr 01 21:13:44 2014 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js
    Tue Apr 01 15:01:42 2014 +0200
@@ -128,6 +128,9 @@
   // smartclient sets this property by default to true
   // this would not allow to place this component in a column other than the 
first one
   startRow: false,
+  // smartclient sets this property by default to fill a whole row
+  // this would not allow to set the colSpan to 1
+  colSpan: 1,
   init: function () {
     if (this.initStyle) {
       this.initStyle();

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to