Merge pull request #300 from julceslauhub/master

BUG 9455 On ProcessMaker 2.0.42 print icon on a Dynaform doesn't work when the form is submited
This commit is contained in:
julceslauhub
2012-07-17 08:28:23 -07:00

View File

@@ -1,6 +1,6 @@
<?php <?php
/** /**
* processes_List.php * casesHistoryDynaformPage_Ajax.php
* *
* ProcessMaker Open Source Edition * ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc. * Copyright (C) 2004 - 2008 Colosa Inc.
@@ -322,14 +322,16 @@
$G_PUBLISH->AddContent('dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_POST['DYN_UID'], '', $Fields['APP_DATA'], '', '', 'view'); $G_PUBLISH->AddContent('dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_POST['DYN_UID'], '', $Fields['APP_DATA'], '', '', 'view');
?> ?>
<script language="javascript"> <script language="javascript">
function popUp(URL, width, height, left, top, resizable) {
window.open(URL, '', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable='+resizable+',width='+width+',height='+height+',left = '+left+',top = '+top+'');
}
<?php <?php
global $G_FORM; global $G_FORM;
?> ?>
function loadForm_<?php echo $G_FORM->id;?>(parametro1){ function loadForm_<?php echo $G_FORM->id;?>(parametro1) {
}
} </script>
</script>
<?php <?php
G::RenderPage('publish', 'raw'); G::RenderPage('publish', 'raw');