Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.create('Ext.form.Panel', {
- standardSubmit: true,
- }).getForm().submit({
- url: url,
- fileUpload:true,
- params: params,
- success: function (response, opts) {
- if (successCallBack) {
- successCallBack.call(scope, response, opts);
- }
- },
- failure: function (form, action) {
- if (failureCallback) {
- failureCallback.call(scope, form, action);
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement