mooSend : function(url,options) {
this.onSuccess=options.onSuccess;
this.onComplete=options.onComplete;
+ var self=this;
var mooOptions = {
- onComplete : Rico.bind(this,'mooComplete'),
- onSuccess : Rico.bind(this,'mooSuccess'),
+ onComplete : function() { self.mooComplete(); },
+ onSuccess : function() { self.mooSuccess(); },
onFailure : options.onFailure,
method : options.method,
data : options.parameters,
effect.start(properties);
return effect;
};
+
+Rico._bindLoadEvent();