Fixed change project status popup
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 04 Mar 2011 08:25:47 +0100
changeset 11015 c2efd93a7ff0
parent 11014 525492fb8caf
child 11016 bc7672c90274
Fixed change project status popup
src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html
--- a/src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html	Fri Mar 04 02:17:50 2011 +0100
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html	Fri Mar 04 08:25:47 2011 +0100
@@ -11,7 +11,7 @@
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SLU 
-* All portions are Copyright (C) 2001-2009 Openbravo SLU 
+* All portions are Copyright (C) 2001-2011 Openbravo SLU 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
@@ -46,7 +46,7 @@
       }
 
       function closeThisPage() {
-        parent.window.close();
+        closePage();
         return true;
       }
 
@@ -54,7 +54,7 @@
       }
 
       function submitThisPage(strCommand) {
-        submitCommandForm(strCommand, false, null, null, '_top');
+        submitCommandForm(strCommand, false, null, null);
         return true;
       }
     </script>