details:   https://code.openbravo.com/erp/devel/pi/rev/a84eafaf0e1e
changeset: 21834:a84eafaf0e1e
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Mon Jan 20 15:37:36 2014 +0100
summary:   Related to issue 25282: Always include UTCOffsetMiliseconds parameter

There was no need to check if the UTCOffsetMiliseconds in the doAction 
function, because at that point it is always undefined.

details:   https://code.openbravo.com/erp/devel/pi/rev/a36ee7789698
changeset: 21835:a36ee7789698
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Mon Jan 20 15:38:48 2014 +0100
summary:   Related to issue 25282: Updated copyright year

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
 |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 267df0f85b0e -r a36ee7789698 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
      Mon Jan 20 14:50:37 2014 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
      Mon Jan 20 15:38:48 2014 +0100
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2011-2012 Openbravo SLU
+ * All portions are Copyright (C) 2011-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -82,9 +82,7 @@
     }
 
     allProperties.inpProcessId = this.processId;
-    if (typeof allProperties._UTCOffsetMiliseconds === "undefined") {
-      allProperties._UTCOffsetMiliseconds = 
OB.Utilities.Date.getUTCOffsetInMiliseconds();
-    }
+    allProperties._UTCOffsetMiliseconds = 
OB.Utilities.Date.getUTCOffsetInMiliseconds();
 
     // obuiapp_process definition
     if (this.newDefinition) {

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to