This is basically what the original problem reduces to:
I have a Backbone model and I want to execute a certain action every time it save
d successfully, but not after it's fetch
ed. The cleanest and least intrusive way to do this, as I see it, would be to attach a handler to the sync
event and check the XHR object: if it's a response to a GET, do one thing, and another if it was a POST.
However, looks like I cannot determine the HTTP method the jqXHR was created in response to... or can I?