[Vtigercrm-developers] Example of app.showModalWindow()?

Christophe Humbert chrissc.humbert at gmail.com
Wed Jun 24 14:12:33 GMT 2015


Hello Alan

Maybe using unload function see thread here
http://stackoverflow.com/questions/6063522/dialog-box-runs-for-1-sec-and-disappears/6065085#6065085

Maybe I miss to understand your question correctly...

Christophe Humbert



On Wed, Jun 24, 2015 at 4:01 PM, Alan Lord <alanslists at gmail.com> wrote:

> I have a javascript class that is performing some extra validations (using
> ajax).
>
> If the validation fails I am successfully showing a modal popup with the
> information required.
>
> When the user clicks the cancel link it works as expected - the window
> closes and nothing else happens.
>
> When the user clicks the OK button I want this to run some additional
> javascript code (but *not* a form submission) but I can't figure out how to
> do this "the vtiger way"... I could stick an "onclick()" thing in the
> button but this doesn't seem to be the way to to do it.
>
> Any suggestions?
>
> Cheers
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150624/7025c6a8/attachment.html>


More information about the vtigercrm-developers mailing list