search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Refresh single scheduler event from javascript

Asked by David
11 years ago.

From my scheduler I can drill down into resources via a popup window. The user can potentially update the resource, so I'm using window.opener to call some javascript in my scheduler page. What's the best way to either update the one resource that's changed (I have the resource ID I need), or get the entire control to refresh, from javascript?

I can use events.find() to find the event, but when I call events.update(e).notify(), I get an exception because the event is not dirty (as far as the scheduler is concerned).

Answer posted by David
11 years ago.

Of course I found the answer 10 minutes after posting: use commandCallBack() to initiate the refresh

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.