fixed bug 30324, related to bug 30249 (backed out)
authorAsier Lostalé <asier.lostale@openbravo.com>
Tue, 07 Jul 2015 09:30:33 +0200
changeset 27130 8adae72ecaee
parent 27129 b45cf0559789
child 27131 9bedf4b77a0a
fixed bug 30324, related to bug 30249 (backed out)

Backed out changest e45f0f903a952 because introduced regression #30324.

It only took into account case of process definitions executed as a popup but
not when they are executed as a full tab.
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	Thu Jul 02 15:12:55 2015 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js	Tue Jul 07 09:30:33 2015 +0200
@@ -405,6 +405,7 @@
     }
 
     this.setAllButtonEnabled(this.allRequiredParametersSet());
+    this.showProcessing(false);
     if (message) {
       if (this.popup) {
         if (!retryExecution) {
@@ -414,7 +415,6 @@
             this.buttonOwnerView.messageBar.setMessage(message.severity, message.text);
           }
         } else {
-          this.showProcessing(false);
           // Popup has no message bar, showing the message in a warn popup
           isc.warn(message.text);
         }