Related to issue 17910: Code format
authorMiguel de Juana <miguel.dejuana@openbravo.com>
Wed, 25 Apr 2012 10:36:20 +0200
changeset 16205 4934b91dff52
parent 16204 7625a9ee9d4c
child 16206 01c9ee1b4fb9
Related to issue 17910: Code format
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js	Wed Apr 25 09:57:41 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js	Wed Apr 25 10:36:20 2012 +0200
@@ -334,9 +334,9 @@
   // when a tab is drawn the first time it steals the focus 
   // from the active view, prevent this
   focus: function () {
-    if(this.parentElement.tabSet.tabPicker){
-	  this.pane.setAsActiveView();
-	} 
+    if (this.parentElement.tabSet.tabPicker) {
+      this.pane.setAsActiveView();
+    }
     if (this.pane.isActiveView && this.pane.isActiveView()) {
       this.Super('focus', arguments);
     }