Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

HTTP DELETE fix for Sencha Touch 2.1

View ext-define.coffee
1 2 3 4 5 6 7 8
Ext.define "MyApp.data.Connection",
override: "Ext.data.Connection"
 
setOptions: ->
options = @callParent arguments
if options.method is "DELETE"
options.data = null
options
View ext-define.coffee
1 2 3 4 5 6 7
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
Something went wrong with that request. Please try again.