Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. Ext.create('Ext.form.Panel', {
  2. standardSubmit: true,
  3.  
  4. }).getForm().submit({
  5. url: url,
  6. fileUpload:true,
  7. params: params,
  8. success: function (response, opts) {
  9. if (successCallBack) {
  10. successCallBack.call(scope, response, opts);
  11. }
  12. },
  13. failure: function (form, action) {
  14. if (failureCallback) {
  15. failureCallback.call(scope, form, action);
  16. }
  17. }
  18.  
  19. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement