Forums

Close popup on Task button, how?

2D77rus 11d ago

I have a Task button "Add comment". It has Dynamic AJAX disabled, no static task set, it just opens a popup.

That popup contains a form, and a second Task button "Save":

  • Dynamic AJAX enabled;
  • Dynamic task = "send/closest:.form"
  • Dynamic result = "append/find:.ui.field.comments/closest:.ui.form"
  • Static task is not set

Now, when I fill that form and click Save button, all works fine: new content is being appended to correct container (outside popup of course). But popup still remains open. How do I set it to close along with Save clicked (dynamic task triggered)? 

Any ideas? Thanks

You need to login to be able to post a reply.