Create a gist now

Instantly share code, notes, and snippets.

HTTP DELETE fix for Sencha Touch 2.1
Ext.define "MyApp.data.Connection",
override: "Ext.data.Connection"
setOptions: ->
options = @callParent arguments
if options.method is "DELETE"
options.data = null
options
Ext.override Ext.data.Connection,
setOptions: ->
options = @callOverridden arguments
if options.method is "DELETE"
options.data = null
options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment