[process] Call process in modal popup
authorAsier Lostalé <asier.lostale@openbravo.com>
Mon, 24 Jan 2011 17:38:38 +0100
changeset 10105 e612bfe5d41d
parent 10104 c67f8af5b71b
child 10106 c57d1b29b3c3
[process] Call process in modal popup
src/org/openbravo/base/secureApp/PopUp_Response.html
--- a/src/org/openbravo/base/secureApp/PopUp_Response.html	Mon Jan 24 16:47:06 2011 +0100
+++ b/src/org/openbravo/base/secureApp/PopUp_Response.html	Mon Jan 24 17:38:38 2011 +0100
@@ -24,18 +24,18 @@
 }
 
 function submitThisPage(ref) {
+    
   if (top && top.opener && top.opener.submitCommandForm) {
     top.opener.submitCommandForm("DEFAULT", false, null, ref, '_self');
   } else {
     
     var process;
-    
     if (getFrame('LayoutMDI')) {
-      process = getFrame('LayoutMDI').OB.ActionButton.executingProcess
+      process = getFrame('LayoutMDI').OB.ActionButton.executingProcess;
     } else if (top && top.opener) {
       process = top.opener.OB.ActionButton.executingProcess;
     }
-
+     
     if (process) {
       process.closeProcessPopup(ref);
     }