details:   https://code.openbravo.com/erp/devel/pi/rev/7b368794cbab
changeset: 17670:7b368794cbab
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Tue Aug 14 16:54:19 2012 +0200
summary:   Fixed issue 19879: [PNE] Editing inputs are now completly shown

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
 |  15 ++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (32 lines):

diff -r 0ce5bb9039c2 -r 7b368794cbab 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
      Tue Aug 14 13:15:32 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
      Tue Aug 14 16:54:19 2012 +0200
@@ -27,6 +27,7 @@
   view: null,
   dataSource: null,
   showFilterEditor: true,
+  showErrorIcons: false,
 
   // Editing
   canEdit: true,
@@ -258,6 +259,20 @@
     return this.Super('recordClick', arguments);
   },
 
+
+  // Dummy "createRecordComponent" to fix issue: 
https://issues.openbravo.com/view.php?id=19879
+  // It seems that if it is not present, Smartclient doesn't perform well the 
maths to calculate the editing fields width
+  createRecordComponent: function (record, colNum) {
+    var layout = null;
+    if (colNum === 0) {
+      layout = isc.Layout.create({
+        width: 0,
+        height: 0
+      });
+    }
+    return layout;
+  },
+
   getOrgParameter: function () {
     var view = this.view.parentWindow.activeView,
         context, i;

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to