details: https://code.openbravo.com/erp/devel/pi/rev/52f2ecf45578 changeset: 33018:52f2ecf45578 user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Fri Nov 17 14:55:38 2017 +0100 summary: related to issue 37303: Add comment
diffstat: modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diffs (12 lines): diff -r 5e48183608e8 -r 52f2ecf45578 modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl --- a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl Thu Nov 09 06:16:13 2017 +0530 +++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl Fri Nov 17 14:55:38 2017 +0100 @@ -25,6 +25,8 @@ isc.screenReader = false; } +// On logging in, create the OB object from scratch. +// But if we are in an old 2.50 window/process, clone the already existing OB object from the parent var OB = (window.LayoutMDI_windowObj && window.LayoutMDI_windowObj.OB) ? window.LayoutMDI_windowObj.shallowClone(window.LayoutMDI_windowObj.OB) : { Application : { testEnvironment: ${data.testEnvironment?string}, ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits