details:   https://code.openbravo.com/erp/devel/pi/rev/cfc4e257dc4a
changeset: 15665:cfc4e257dc4a
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Wed Feb 29 14:20:27 2012 +0100
summary:   Related to issue 19728: Do more JS code formatting

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-window.js
           |  2 +-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
      |  2 +-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
                   |  3 +--
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
                   |  8 ++++----
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalize-form.js
 |  5 ++++-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-keyboard-manager.js
       |  1 -
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-popup.js
                  |  2 +-
 
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/test/test-compression.js
                       |  2 +-
 8 files changed, 13 insertions(+), 12 deletions(-)

diffs (116 lines):

diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-window.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-window.js
     Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-window.js
     Wed Feb 29 14:20:27 2012 +0100
@@ -331,4 +331,4 @@
 // Maintained to support recent items which use the old name
 // NOTE: can be removed when the user interface is released in production in 
Q1 2011
 // at that time the recent items should have been cleaned up
-isc.defineClass('ClassicOBWindow', isc.OBClassicWindow);
+isc.defineClass('ClassicOBWindow', isc.OBClassicWindow);
\ No newline at end of file
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
        Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
        Wed Feb 29 14:20:27 2012 +0100
@@ -174,7 +174,7 @@
   isSeparator: function (str, position) {
     return str.charAt(position) === '-' || str.charAt(position) === '\\' || 
str.charAt(position) === '/';
   },
-  
+
   pickerDataChanged: function (picker) {
     this.Super('pickerDataChanged', arguments);
     if (this.form.focusInNextItem) {
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Wed Feb 29 14:20:27 2012 +0100
@@ -1234,7 +1234,6 @@
       } else if (!me.forceFocusedField) {
         // don't set the focus in this case, this happens
         // when moving to a new row in grid editing
-
         if (me.getFocusItem()) {
           me.setFocusInForm();
         }
@@ -1522,7 +1521,7 @@
         return;
       }
     }
-    
+
     // wait for the redraw to be finished before moving the focus 
     if (this.isDirty()) {
       this.delayCall('focusInNextItem', [currentItemName], 100);
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Wed Feb 29 14:20:27 2012 +0100
@@ -299,18 +299,18 @@
     return ret;
   },
 
-  clearFilter: function() {
+  clearFilter: function () {
     // hide the messagebar
     this.view.messageBar.hide();
     this.Super('clearFilter', arguments);
   },
-  
-  filterEditorSubmit: function() {
+
+  filterEditorSubmit: function () {
     // hide the messagebar
     this.view.messageBar.hide();
     this.Super('filterEditorSubmit', arguments);
   },
-  
+
   // destroy the context menu also
   // see why this needs to be done in the 
   // documentation of canvas.contextMenu in Canvas.js
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalize-form.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalize-form.js
   Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalize-form.js
   Wed Feb 29 14:20:27 2012 +0100
@@ -796,7 +796,10 @@
       // even if the status bar field does not have a value (which it
       // does not have in the form preview)
       getStatusBarFields: function () {
-        var statusBarFields = [[], []],
+        var statusBarFields = [
+          [],
+          []
+        ],
             i, item, value, tmpValue, length = this.statusBarFields.length;
 
         for (i = 0; i < length; i++) {
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-keyboard-manager.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-keyboard-manager.js
 Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-keyboard-manager.js
 Wed Feb 29 14:20:27 2012 +0100
@@ -35,7 +35,6 @@
       ISC = isc,
       keyboardMgr; // Local reference to UrlManager instance
 
-
   function KeyboardManager() {}
 
   KeyboardManager.prototype = {
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-popup.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-popup.js
    Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-popup.js
    Wed Feb 29 14:20:27 2012 +0100
@@ -4,7 +4,7 @@
  * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
  * Version 1.1  with a permitted attribution clause; you may not  use this
  * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
+ * the License at http://www.openbravo.com/legal/license.html
  * Software distributed under the License  is  distributed  on  an "AS IS"
  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  * License for the specific  language  governing  rights  and  limitations
diff -r 0fce8d2edeac -r cfc4e257dc4a 
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/test/test-compression.js
--- 
a/modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/test/test-compression.js
 Wed Feb 29 13:48:46 2012 +0100
+++ 
b/modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/test/test-compression.js
 Wed Feb 29 14:20:27 2012 +0100
@@ -18904,4 +18904,4 @@
       }));
     }
   }
-});
+});
\ No newline at end of file

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to