details: https://code.openbravo.com/erp/devel/pi/rev/654f4b087ab8 changeset: 24252:654f4b087ab8 user: Asier Lostalé <asier.lostale <at> openbravo.com> date: Wed Aug 13 17:24:08 2014 +0200 summary: fixed bug 27325: int-basic CI test randomly fail
added flag to know when defaults are set in parameter windows diffstat: modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diffs (22 lines): diff -r 5bcf312da832 -r 654f4b087ab8 modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js Mon Aug 11 12:56:55 2014 +0200 +++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js Wed Aug 13 17:24:08 2014 +0200 @@ -53,6 +53,8 @@ newButton, cancelButton, view = this, newShowIf, params, updatedExpandSection; + // this flag can be used by Selenium to determine when defaults are set + this.defaultsAreSet = false; // Buttons @@ -539,6 +541,9 @@ this.okButton.setEnabled(this.allRequiredParametersSet()); this.handleDisplayLogicForGridColumns(); + + // this flag can be used by Selenium to determine when defaults are set + this.defaultsAreSet = true; }, /** ------------------------------------------------------------------------------ _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits