gpc/grails-jquery — pull request #7 by boillodmanuel (2011-12-17 14:21:41+00:00)
Title: Handle on_ERROR_CODE in jquery remote function

Hi,

I have update JQueryProvider in order to handle on_ERROR_CODE described in Grails Documentation.
I also add XMLHttpRequest to the onSuccess callback function.

Could you add it to jquery plugin ?

Thanks

### Commit message:

Attribute onSuccess: add XMLHttpRequest as third parameters of jquery success function

Attributes on_ERROR_CODE: handled with jquery statusCode (see http://api.jquery.com/jQuery.ajax/)
if ERROR_CODE is 2xx or 304, callback has the same parameters than success function, otherwise callback has the same parameters than error function

### Usage Samples