Fixed issue 0026840: onLoad function is not executed in Process Definition without Parameters
authorMiguel de Juana <miguel.dejuana@openbravo.com>
Tue, 24 Jun 2014 10:39:45 +0200
changeset 23862 400fab36bc29
parent 23861 3fbe45f3957e
child 23863 b3671e259f50
Fixed issue 0026840: onLoad function is not executed in Process Definition without Parameters
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	Tue Jun 24 10:36:42 2014 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js	Tue Jun 24 10:39:45 2014 +0200
@@ -476,6 +476,9 @@
         defaultFilter = {},
         gridsToBeFiltered = [];
     if (!this.theForm) {
+      if (this.onLoadFunction) {
+        this.onLoadFunction(this);
+      }
       return;
     }