Hi dave,
It works fine on bug-add. An empty ad_form to add bugs.
However, it is broken on bug.tcl, the ad_form to submit actions to amend bugs. it needs deeper debug from myside
Furthermore, i would like to follow your approach and create an ajax pop up with user-new registration ad_form and after it is submitted, it makes the bug-add form to get refreshed. and allow users fill out with updated info.
Would you guide me building such a functionality?
I see the starting point is the link in the bug-add form.
So far i just wrote an ad_form block with the chunk of code
ad_form -extend -name bug -form {
{info1:text(inform),optional
{label "<h1>Partes</h1>"}
{value "<br><a href='/register/user-new' target='_blank'>Adicionar parte em Contatos</a>"}
}
}
This works. Barely. it opens a new tab with the user-new form but after adding the new user, it still has to refresh manually.
I believe "value" block should be different. it should contain a javascript code. What would it be?