BUG 11068 Intermediate Message Event Does not fire on first Task in Sub Process IMPROVEMENT

- El bug se debe a un cambio originado para la validacion de los botones submit (evitar que se haga submit 2 veces)

- Se agregaron las validaciones correspondientes para que no de problemas con la nueva validacion
This commit is contained in:
Julio Cesar Laura
2013-06-25 16:59:15 -04:00
parent 954f01b69b
commit ed825c4f81
10 changed files with 14 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
<form id="form[{$form->id}]" name="form[{$form->name}]" action="{$form->action}" method="post" style="margin:0px;" class="formSearch">
<table class="borderForm" id="{$form->name}" name="{$form->name}" class="basicTable" width='{$form->width}' cellspacing="0" cellpadding="0" style="display:none;width:{$form->width};">
<tr>
<td valign='top'>
<td valign='top'>
{if isset($form->title) && $form->title !=='' }
<table class="Header" width='100%'>
<tr>
@@ -70,6 +70,7 @@ var form_{$form->id};
var i;
function loadForm_{$form->id}(ajaxServer)
{literal}{{/literal}
swSubmitValidateForm = 1;
if (typeof(G_Form)==='undefined') return alert('form.js was not loaded');
form_{$form->id}=new G_Form(document.getElementById('form[{$form->id}]'),'{$form->id}');
var myForm=form_{$form->id};

View File

@@ -80,6 +80,7 @@ var form_{$form->id};
var i;
function loadForm_{$form->id}(ajaxServer)
{literal}{{/literal}
swSubmitValidateForm = 1;
if (typeof(G_Form)==='undefined') return alert('form.js was not loaded');
form_{$form->id}=new G_Form(document.getElementById('{$form->id}'),'{$form->id}');
var myForm=form_{$form->id};

View File

@@ -90,6 +90,7 @@
function loadForm_{$form->id}(ajaxServer)
{literal}{{/literal}
swSubmitValidateForm = 1;
var i = 0;
if (typeof(G_Form) == "undefined") {literal}{{/literal}

View File

@@ -2,6 +2,7 @@ var form_{$form->id};
var i;
function loadForm_{$form->id}(ajaxServer)
{literal}{{/literal}
swSubmitValidateForm = 1;
if (typeof(G_Form)==='undefined') return alert('form.js was not loaded');
form_{$form->id}=new G_Form(document.getElementById('{$form->id}'),'{$form->id}');
var myForm=form_{$form->id};

View File

@@ -93,6 +93,7 @@ if (typeof(__aObjects__) === 'undefined') {literal}{{/literal}
{literal}}{/literal}
function loadForm_{$form->id}(ajaxServer)
{literal}{{/literal}
swSubmitValidateForm = 1;
if (typeof(G_Form)==='undefined') return alert('form.js was not loaded');
form_{$form->id}=new G_Form(document.getElementById('{$form->id}'),'{$form->id}');
object_{$form->name} = form_{$form->id};

View File

@@ -3,10 +3,10 @@
<PRO_UID type="private" />
<DYN_UID type="private" />
<!--<separator1 type="toolButton" file="images/dynamicForm/separatorTable.gif" home="public_html" buttonStyle=""/>-->
<saveDyna type="toolButton" class="ss_sprite button_toolbar ss_disk" onclick="dynaformEditor.save()" home="public_html" buttonType="class">
<saveDyna type="toolButton" class="ss_sprite button_toolbar ss_disk" onclick="dynaformEditor.save();return false;" home="public_html" buttonType="class">
<en>Save</en>
</saveDyna>
<saveasDyna type="toolButton" class="ss_sprite button_toolbar ss_disk_multiple" onclick="dynaformEditor.save_as()" buttonType="class">
<saveasDyna type="toolButton" class="ss_sprite button_toolbar ss_disk_multiple" onclick="dynaformEditor.save_as();return false;" buttonType="class">
<en>Save as</en>
</saveasDyna>
<!--.-->

View File

@@ -3,10 +3,10 @@
<PRO_UID type="private" />
<DYN_UID type="private" />
<!--<separator1 type="toolButton" file="images/dynamicForm/separatorTable.gif" home="public_html" buttonStyle=""/>-->
<saveDyna type="toolButton" class="ss_sprite button_toolbar ss_disk" onclick="dynaformEditor.save()" buttonType="class">
<saveDyna type="toolButton" class="ss_sprite button_toolbar ss_disk" onclick="dynaformEditor.save();return false;" buttonType="class">
<en>Save</en>
</saveDyna>
<saveasDyna type="toolButton" class="ss_sprite button_toolbar ss_disk_multiple" onclick="dynaformEditor.save_as()" buttonType="class">
<saveasDyna type="toolButton" class="ss_sprite button_toolbar ss_disk_multiple" onclick="dynaformEditor.save_as();return false;" buttonType="class">
<en>Save as</en>
</saveasDyna>
<!--.-->