Re: [Dev] [DEV][Jaggery][javascript] jagg.post() returns to the error function while post fuction implements properly.

2015-11-20 Thread Sajith Ariyarathna
Hi Ishara, Can you share the exception log here? So we can look into it and figure out whats happening. Thanks. On Fri, Nov 20, 2015 at 12:23 PM, Ishara Cooray wrote: > I have the following code implemented in a jaggery app. In the reInvite > function sends an email and

[Dev] [DEV][Jaggery][javascript] jagg.post() returns to the error function while post fuction implements properly.

2015-11-19 Thread Ishara Cooray
I have the following code implemented in a jaggery app. In the reInvite function sends an email and returns email. The issue is though the email is sent successfully it throws an error. jagg.post("../blocks/tenant/register/invite/ajax/invite.jag", { action:"reInvite",