AnsweredAssumed Answered

Run Javascript call without page reload

Question asked by Jeff C on Jul 15, 2016
Latest reply on Jul 15, 2016 by Bhavin Patel

I added a checkbox to the activity list (Case detail view) that does the same thing as selecting the drop down and then selecting close.

 

I don't like that not only does it close the task but it reloads the entire case detail view page.  I'd rather have it close the task in the background without reloading the page.  The task list doesn't have to be updated as the checked checkbox gives indication it was closed in this session.

 

The onclick call is:  SUGAR.util.closeActivityPanel.show

 

What is the easiest way to keep it from reloading the page after closing the task?

Outcomes