Hello,
When i use field {lang_msg_delete_transport} created in application langage, there is a bug.
See in form_xxx_js0.php scriptcase generation. And i writed the good expression
When i change with good expression, form works great
May be the same bug with message insert and update
function scForm_confirmDelete(callbackOk, callbackCancel) {
scJs_confirm("<?php echo $this->Ini->Nm_lang['lang_msg_delete_transport'] ?>", callbackOk, callbackCancel); <== good
scJs_confirm("<?php\necho\n$this->Ini->Nm_lang['lang_msg_delete_transport']\n?>", callbackOk, callbackCancel); <== wrong
} // scForm_confirmDelete
if (x == "excluir")
{
if (confirm ("<?php echo $this->Ini->Nm_lang['lang_msg_delete_transport'] ?>")) <== good
if (confirm ("<?php\necho\n$this->Ini->Nm_lang['lang_msg_delete_transport']\n?>")) <== wrong
{
document.F1.nmgp_opcao.value = x;
document.F1.submit();
}
else
{
return;
}
}
else
{
document.F1.nmgp_opcao.value = x;
if ("incluir" == x || "muda_form" == x || "recarga" == x || "recarga_mobile" == x)
{
Nm_Proc_Atualiz = true;
document.F1.submit();
}
else
{
Nm_Proc_Atualiz = true;
do_ajax_form_transport_submit_form();
}
}
if (Nm_submit_ok)
{
Nm_Proc_Atualiz = true;
}
}
Scriptcase v9.4.032
sent to bugs@scriptcase.net