I am working on using the control and for some reason the response methods are not binding. Everything else works fine, but once I call fileBtn.submit(), the onSuccess and Failure methods are not called. I am testing on iOS 6.0.1 Safari and the most updated Google Chrome.
Below is what I have:
Ext.define('Namespace.controller.Main',{
extend: 'Ext.app.Controller',
views:['Main','Viewport'],
I am working on using the control and for some reason the response methods are not binding. Everything else works fine, but once I call fileBtn.submit(), the onSuccess and Failure methods are not called. I am testing on iOS 6.0.1 Safari and the most updated Google Chrome.
Below is what I have:
Ext.define('Namespace.controller.Main',{ extend: 'Ext.app.Controller', views:['Main','Viewport'],
Here is how I use the component, but I really don't think this is the issue.
{ id: 'fileBtn', xtype: 'fileupload', iconCls: 'download', iconMask: true, text: 'File dialog', padding: 20, actionUrl: 'services/api/upload', returnBase64Data: true, autoUpload: false }, { xtype:'button', text:'Submit', handler:function () { var fileBtn = Ext.getCmp('fileBtn');