Commit 3a10c4cf by Alex-Code

Update yii.activeForm.js

Refactored
parent 6d2bc729
......@@ -279,9 +279,7 @@
var deferredArray = function () {
var array = [];
array.add = function(callback) {
var deferred = new $.Deferred();
callback.call(deferred);
this.push(deferred);
this.push(new $.Deferred(callback));
};
return array;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment