details:   https://code.openbravo.com/erp/devel/pi/rev/cd275372041a
changeset: 26108:cd275372041a
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Mon Mar 02 16:15:36 2015 +0100
summary:   Related to issue 19728: Do more JS code formatting

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
    |  2 +-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-onchange-functions.js
     |  3 +--
 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient-labels.js
 |  4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 5d6465124256 -r cd275372041a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
      Mon Mar 02 13:59:01 2015 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
      Mon Mar 02 16:15:36 2015 +0100
@@ -715,7 +715,7 @@
     return (this.buttonOwnerView && 
this.buttonOwnerView.getContextInfo(onlySessionProperties, classicMode, 
forceSettingContextVars, convertToClassicFormat)) || {};
   },
 
-  handleButtonsStatus: function() {
+  handleButtonsStatus: function () {
     var allRequiredSet = this.allRequiredParametersSet();
     if (this.isReport) {
       if (this.pdfExport) {
diff -r 5d6465124256 -r cd275372041a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-onchange-functions.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-onchange-functions.js
       Mon Mar 02 13:59:01 2015 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-onchange-functions.js
       Mon Mar 02 16:15:36 2015 +0100
@@ -19,7 +19,6 @@
 // = On Change Functions =
 //
 // Contains on change functions that are defined in the fields.
-
 OB = window.OB || {};
 OB.OnChange = window.OB.OnChange || {};
 
@@ -38,7 +37,7 @@
 //When OBUIAPP_Report is selected and the Action Handler is empty it sets
 //the BaseReportActionHandler as default value.
 OB.OnChange.processDefinitionUIPattern = function (item, view, form, grid) {
-var classNameItem = form.getItem('javaClassName');
+  var classNameItem = form.getItem('javaClassName');
   if (item.getValue() === 'OBUIAPP_Report' && !classNameItem.getValue()) {
     
classNameItem.setValue('org.openbravo.client.application.report.BaseReportActionHandler');
   }
diff -r 5d6465124256 -r cd275372041a 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient-labels.js
--- 
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient-labels.js
   Mon Mar 02 13:59:01 2015 +0100
+++ 
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient-labels.js
   Mon Mar 02 16:15:36 2015 +0100
@@ -226,10 +226,10 @@
     clearSortFieldText: getLabel('OBUISC_ListGrid.clearSortFieldText')
   });
   isc.ListGrid.addProperties({
-         autoFitAllText: getLabel('OBUISC_ListGrid.autoFitAllText')
+    autoFitAllText: getLabel('OBUISC_ListGrid.autoFitAllText')
   });
   isc.ListGrid.addProperties({
-         autoFitFieldText: getLabel('OBUISC_ListGrid.autoFitFieldText')
+    autoFitFieldText: getLabel('OBUISC_ListGrid.autoFitFieldText')
   });
 
   isc.TreeGrid.parentAlreadyContainsChildMessage = 
getLabel('OBUISC_TreeGrid.parentAlreadyContainsChildMessage');

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to