details: https://code.openbravo.com/erp/devel/pi/rev/901e4bf394d8 changeset: 31966:901e4bf394d8 user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Wed Apr 12 16:45:57 2017 +0200 summary: related to issue 35769: do registry before calling super
diffstat: modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r f29741f80283 -r 901e4bf394d8 modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js --- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js Wed Apr 12 13:31:38 2017 +0200 +++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js Wed Apr 12 16:45:57 2017 +0200 @@ -376,8 +376,6 @@ }] }), dummyLastField]; - var ret = this.Super('initWidget', arguments); - // register the field in the registry var suggestionField = this.members[2].getField('value'); OB.TestRegistry.register(this.recentPropertyName + '_RECENTFORM', this.members[1]); @@ -385,6 +383,8 @@ OB.TestRegistry.register(this.recentPropertyName + '_BUTTON', this); OB.TestRegistry.register(this.recentPropertyName + '_FIELD', suggestionField); + var ret = this.Super('initWidget', arguments); + return ret; }, ------------------------------------------------------------------------------ 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