{
_this.form= form;
},
- actioncomplete : function(_self,action)
- {
- if (action.type == 'setdata') {
- return;
- }
- if (action.type == 'load') {
- return;
- }
- if (action.type =='submit') {
-
- _this.dialog.hide();
-
- if (_this.callback) {
- _this.callback.call(_this, _this.form.getValues());
- }
- _this.form.reset();
- return;
- }
+ actioncomplete : function(_self,action)\r
+ {\r
+ if (action.type == 'setdata') {\r
+ return;\r
+ }\r
+ if (action.type == 'load') {\r
+ return;\r
+ }\r
+ if (action.type =='submit') {\r
+ \r
+ _this.dialog.hide();\r
+ \r
+ if (_this.callback) {\r
+ _this.callback.call(_this, _this.form.getValues());\r
+ }\r
+ _this.form.reset();\r
+ return;\r
+ }\r
}
},
method : 'GET',