BUG 9455 On ProcessMaker 2.0.42 print icon on a Dynaform doesn't work when the form is submited

- The function "popUp" was missing
- Add the missing function "popUp"
This commit is contained in:
Julio Cesar Laura
2012-07-17 11:25:45 -04:00
parent be06888e8e
commit 5a5d836803

View File

@@ -1,6 +1,6 @@
<?php
/**
* processes_List.php
* casesHistoryDynaformPage_Ajax.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.
@@ -322,14 +322,16 @@
$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
global $G_FORM;
?>
function loadForm_<?php echo $G_FORM->id;?>(parametro1){
}
</script>
function loadForm_<?php echo $G_FORM->id;?>(parametro1) {
}
</script>
<?php
G::RenderPage('publish', 'raw');