details: https://code.openbravo.com/erp/devel/pi/rev/554d3e09f643 changeset: 34244:554d3e09f643 user: Javier Armendáriz <javier.armendariz <at> openbravo.com> date: Tue Jun 26 10:54:44 2018 +0200 summary: Fixed issue 38837: Registration popup should not appear.
Registration popup should no longer exists. As a first measure, this popup should not appear when logging in as administrator or as a menu entry. In future releases, this popup should be completely removed from the codebase. diffstat: modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml | 2 +- modules/org.openbravo.client.application/src/org/openbravo/client/application/HeartBeatPopUpComponent.java | 2 -- src/org/openbravo/erpCommon/ad_forms/Heartbeat.html | 5 +---- 3 files changed, 2 insertions(+), 7 deletions(-) diffs (46 lines): diff -r 58eb040e2d99 -r 554d3e09f643 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml --- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml Thu Jun 28 08:21:40 2018 +0200 +++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml Tue Jun 26 10:54:44 2018 +0200 @@ -4,7 +4,7 @@ <!--1005400002--> <AD_MENU_ID><![CDATA[1005400002]]></AD_MENU_ID> <!--1005400002--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> <!--1005400002--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> -<!--1005400002--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--1005400002--> <ISACTIVE><![CDATA[N]]></ISACTIVE> <!--1005400002--> <NAME><![CDATA[Register]]></NAME> <!--1005400002--> <DESCRIPTION><![CDATA[Register your installation of Openbravo ERP in order to receive development and commercial updates and information]]></DESCRIPTION> <!--1005400002--> <ISSUMMARY><![CDATA[N]]></ISSUMMARY> diff -r 58eb040e2d99 -r 554d3e09f643 modules/org.openbravo.client.application/src/org/openbravo/client/application/HeartBeatPopUpComponent.java --- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/HeartBeatPopUpComponent.java Thu Jun 28 08:21:40 2018 +0200 +++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/HeartBeatPopUpComponent.java Tue Jun 26 10:54:44 2018 +0200 @@ -92,8 +92,6 @@ return "OB.Layout.ClassicOBCompatibility.Popup.openInstancePurpose()"; case HeartBeat: return "OB.Layout.ClassicOBCompatibility.Popup.openHeartbeat()"; - case Registration: - return "OB.Layout.ClassicOBCompatibility.Popup.openRegistration()"; default: return "return"; } diff -r 58eb040e2d99 -r 554d3e09f643 src/org/openbravo/erpCommon/ad_forms/Heartbeat.html --- a/src/org/openbravo/erpCommon/ad_forms/Heartbeat.html Thu Jun 28 08:21:40 2018 +0200 +++ b/src/org/openbravo/erpCommon/ad_forms/Heartbeat.html Tue Jun 26 10:54:44 2018 +0200 @@ -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) 2001-2011 Openbravo SLU + * All portions are Copyright (C) 2001-2018 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -55,9 +55,6 @@ var paramXMLReq = null; // call cancel on servlet but do not wait for response submitXmlHttpRequest(xx, null, action, "Heartbeat.html", false, null, paramXMLReq); - if (document.frmMain.showRegistration.value == 'Y') { - openRegistration(); - } closePage(); } </script> ------------------------------------------------------------------------------ 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